diff options
author | Liong Sauw Ming <ming@teluu.com> | 2013-02-27 14:41:32 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2013-02-27 14:41:32 +0000 |
commit | c64940521176044a358eb0faca6f30db7828e6c2 (patch) | |
tree | 3707770154a76d504686220f607e7a831882e237 | |
parent | 19b9c00b1a42c87359dc6f990a472f01ac114adc (diff) |
Re #1599: Backported to 1.x
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4402 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_call.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c index 0d700bd7..d67ab209 100644 --- a/pjsip/src/pjsua-lib/pjsua_call.c +++ b/pjsip/src/pjsua-lib/pjsua_call.c @@ -1740,7 +1740,7 @@ PJ_DEF(pj_status_t) pjsua_call_reinvite( pjsua_call_id call_id, return status; } - if ((options & PJSUA_CALL_UPDATE_CONTACT) & + if ((options & PJSUA_CALL_UPDATE_CONTACT) && pjsua_acc_is_valid(call->acc_id)) { new_contact = &pjsua_var.acc[call->acc_id].contact; @@ -1805,7 +1805,7 @@ PJ_DEF(pj_status_t) pjsua_call_update( pjsua_call_id call_id, return status; } - if ((options & PJSUA_CALL_UPDATE_CONTACT) & + if ((options & PJSUA_CALL_UPDATE_CONTACT) && pjsua_acc_is_valid(call->acc_id)) { new_contact = &pjsua_var.acc[call->acc_id].contact; |