summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2012-08-07 02:53:03 +0000
committerNanang Izzuddin <nanang@teluu.com>2012-08-07 02:53:03 +0000
commit5d74cbe644626579d0327faf4a3eaba8b9d2bd51 (patch)
tree4e40fe36ac7310ff96aced9e44898b383dd6e15e /pjsip/include
parented7f9eba764e5fb47f7bc881bd96ceeb359bb3cc (diff)
Fixed #1563: Crash when resolving STUN when there is no network connectivity.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4219 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsua-lib/pjsua_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h
index 5337b68b..e97056ae 100644
--- a/pjsip/include/pjsua-lib/pjsua_internal.h
+++ b/pjsip/include/pjsua-lib/pjsua_internal.h
@@ -336,6 +336,9 @@ typedef struct pjsua_stun_resolve
PJ_DECL_LIST_MEMBER(struct pjsua_stun_resolve);
pj_pool_t *pool; /**< Pool */
+ int ref_cnt; /**< Reference count */
+ pj_bool_t destroy_flag; /**< To be destroyed */
+ pj_bool_t has_result;
unsigned count; /**< # of entries */
pj_str_t *srv; /**< Array of entries */
unsigned idx; /**< Current index */