remove tags and headers when displaying the sip uri to the user.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@759 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
smorlat 2009-11-12 10:47:51 +00:00
parent 95918b58c2
commit 96b9e2edf0

View file

@ -71,7 +71,10 @@ void display_peer_name_in_label(GtkWidget *label, const char *uri){
osip_free(from->displayname);
from->displayname=NULL;
}
osip_uri_param_freelist(&from->url->url_params);
osip_uri_header_freelist(&from->url->url_params);
osip_from_to_str(from,&id);
}else id=osip_strdup(uri);
osip_from_free(from);
if (displayname!=NULL)