mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
fix bug when checking for quotes
This commit is contained in:
parent
bda56cf296
commit
8693525b3a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue