do not display_warning() for bad uris

This commit is contained in:
Simon Morlat 2013-10-16 12:09:25 +02:00
parent f04dab8f10
commit eea8bd18fe

View file

@ -2315,10 +2315,7 @@ LinphoneAddress * linphone_core_interpret_url(LinphoneCore *lc, const char *url)
if (uri!=NULL){
return uri;
}
/* else we could not do anything with url given by user, so display an error */
if (lc->vtable.display_warning!=NULL){
lc->vtable.display_warning(lc,_("Could not parse given sip address. A sip url usually looks like sip:user@domain"));
}
return NULL;
}