mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
fix possible infinite loop
This commit is contained in:
parent
3d5d12d857
commit
903756a7cb
1 changed files with 1 additions and 1 deletions
|
|
@ -1800,7 +1800,7 @@ static bool_t register_again_with_updated_contact(SalOp *op, osip_message_t *ori
|
|||
do{
|
||||
ctt=NULL;
|
||||
osip_message_get_contact(last_answer,i,&ctt);
|
||||
if (ctt==NULL) osip_message_get_contact(orig_request,0,&ctt);
|
||||
if (i==0 && ctt==NULL) osip_message_get_contact(orig_request,0,&ctt);
|
||||
if (ctt){
|
||||
osip_contact_to_str(ctt,&tmp);
|
||||
ori_contact_address = sal_address_new(tmp);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue