Commit 8693525b authored by Simon Morlat's avatar Simon Morlat
Browse files

fix bug when checking for quotes

parent bda56cf2
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment