From 1e25bf2a30cd6b9c78593cc19a14f38de8873aa7 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 19 Apr 2012 11:36:17 +0200 Subject: [PATCH] fix bug with bad contact in 200Ok in case of authless proxy config. --- coreapi/sal_eXosip2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/coreapi/sal_eXosip2.c b/coreapi/sal_eXosip2.c index ef82b9bea..f21f43654 100644 --- a/coreapi/sal_eXosip2.c +++ b/coreapi/sal_eXosip2.c @@ -1799,6 +1799,7 @@ static bool_t register_again_with_updated_contact(SalOp *op, osip_message_t *ori eXosip_register_send_register(op->rid,msg); eXosip_unlock(); ms_message("Resending new register with updated contact"); + update_contact_from_response(op,last_answer); return TRUE; } else { ms_warning("Fail to send updated register."); @@ -1806,8 +1807,6 @@ static bool_t register_again_with_updated_contact(SalOp *op, osip_message_t *ori return FALSE; } eXosip_unlock(); - - update_contact_from_response(op,last_answer); return FALSE; }