From 9642f4e72a8bfae8b7c222c5ccbbc52d83731ee9 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 7 Oct 2010 13:59:17 +0200 Subject: [PATCH] fix unnotified unregistrations --- coreapi/sal_eXosip2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/coreapi/sal_eXosip2.c b/coreapi/sal_eXosip2.c index 428e6aed3..a7fa26b16 100644 --- a/coreapi/sal_eXosip2.c +++ b/coreapi/sal_eXosip2.c @@ -1446,7 +1446,9 @@ static void registration_success(Sal *sal, eXosip_event_t *ev){ if (!register_again_with_updated_contact(op,ev->request,ev->response)){ sal->callbacks.register_success(op,registered); } - }else registered=FALSE; + }else { + sal->callbacks.register_success(op,FALSE); + } } static bool_t registration_failure(Sal *sal, eXosip_event_t *ev){