summaryrefslogtreecommitdiff
path: root/pjnath
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2011-09-28 04:20:30 +0000
committerLiong Sauw Ming <ming@teluu.com>2011-09-28 04:20:30 +0000
commit90bbdfb85e44e2be7a185a7f8288bd50371d735a (patch)
treea5046cdc2efa4959dc64a9a1275ba5134b2bc23e /pjnath
parentba2dc4a7b2dc047fafca1f64c3503f0b1d40e473 (diff)
Re #1266: Fixed failed automated tests for ICE
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3775 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath')
-rw-r--r--pjnath/src/pjnath/ice_strans.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pjnath/src/pjnath/ice_strans.c b/pjnath/src/pjnath/ice_strans.c
index 906f2683..2ceaaabb 100644
--- a/pjnath/src/pjnath/ice_strans.c
+++ b/pjnath/src/pjnath/ice_strans.c
@@ -585,12 +585,13 @@ PJ_DEF(pj_status_t) pj_ice_strans_create( const char *name,
/* Done with initialization */
pj_lock_release(ice_st->init_lock);
- /* Check if all candidates are ready (this may call callback) */
- sess_init_update(ice_st);
-
PJ_LOG(4,(ice_st->obj_name, "ICE stream transport created"));
*p_ice_st = ice_st;
+
+ /* Check if all candidates are ready (this may call callback) */
+ sess_init_update(ice_st);
+
pj_log_pop_indent();
return PJ_SUCCESS;