diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-04-10 09:40:30 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-04-10 09:40:30 +0000 |
commit | 1e3dd7f6dced6fdb406724146885047e9a4da6a2 (patch) | |
tree | 1d20e73050270d623a7dfadbf3f51e4b8deb3225 | |
parent | 31f3ada5c0480020db00718a99129f378cdd9aa1 (diff) |
Fixed assertion error when local_pref is set to zero in pj_ice_sess_add_cand()
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1183 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r-- | pjnath/src/pjnath/ice_session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjnath/src/pjnath/ice_session.c b/pjnath/src/pjnath/ice_session.c index 6cdea360..d6811768 100644 --- a/pjnath/src/pjnath/ice_session.c +++ b/pjnath/src/pjnath/ice_session.c @@ -549,7 +549,7 @@ PJ_DEF(pj_status_t) pj_ice_sess_add_cand(pj_ice_sess *ice, pj_status_t status = PJ_SUCCESS; char tmp[128]; - PJ_ASSERT_RETURN(ice && comp_id && local_pref && + PJ_ASSERT_RETURN(ice && comp_id && foundation && addr && base_addr && addr_len, PJ_EINVAL); PJ_ASSERT_RETURN(comp_id <= ice->comp_cnt, PJ_EINVAL); |