mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
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
This commit is contained in:
parent
e8898a1a0c
commit
d1899c8b68
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue