diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 674b8e3d89af3e42cef1b3d7894da2e85f89d4ee..1b504d499ae92aa002b9439ccc06faa7a8a85857 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -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; }