From 8693525b3a6f7c7394ee35c04dc33982ac184d58 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 27 May 2010 10:54:35 +0200 Subject: [PATCH] fix bug when checking for quotes --- coreapi/sal_eXosip2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/sal_eXosip2.c b/coreapi/sal_eXosip2.c index 82af9a0fd..efabe82d3 100644 --- a/coreapi/sal_eXosip2.c +++ b/coreapi/sal_eXosip2.c @@ -1596,7 +1596,7 @@ SalAddress * sal_address_new(const char *uri){ osip_from_free(from); return NULL; } - if (from->displayname!=NULL && from->displayname[0]!='"'){ + if (from->displayname!=NULL && from->displayname[0]=='"'){ char *unquoted=osip_strdup_without_quote(from->displayname); osip_free(from->displayname); from->displayname=unquoted;