Commit d1899c8b authored by smorlat's avatar smorlat
Browse files

fix missing \ causing a bug with username starting with 0 (shoud be '\0').

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@761 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent e8898a1a
......@@ -1093,7 +1093,7 @@ static void linphone_core_grab_buddy_infos(LinphoneCore *lc, LinphoneProxyConfig
if (lf->info==NULL){
char *url=linphone_friend_get_url(lf);
if (linphone_core_lookup_known_proxy(lc,url)==cfg){
if (lf->url->url->username!=NULL && lf->url->url->username[0]!='0'){
if (lf->url->url->username!=NULL && lf->url->url->username[0]!='\0'){
BuddyLookupRequest *req;
char tmp[255];
snprintf(tmp,sizeof(tmp),"sip:%s@%s",lf->url->url->username,lf->url->url->host);
......
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