Commit 491c4802 authored by smorlat's avatar smorlat
Browse files

in register command, don't set realm as we don't know it at the time of the command.

git-svn-id: svn+ssh:// 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent c3eb0490
...@@ -1376,7 +1376,7 @@ static int lpc_cmd_register(LinphoneCore *lc, char *args){ ...@@ -1376,7 +1376,7 @@ static int lpc_cmd_register(LinphoneCore *lc, char *args){
if (osip_from_parse(from,identity)==0){ if (osip_from_parse(from,identity)==0){
char realm[128]; char realm[128];
snprintf(realm,sizeof(realm)-1,"\"%s\"",from->url->host); snprintf(realm,sizeof(realm)-1,"\"%s\"",from->url->host);
info=linphone_auth_info_new(from->url->username,NULL,passwd,NULL,realm); info=linphone_auth_info_new(from->url->username,NULL,passwd,NULL,NULL);
linphone_core_add_auth_info(lc,info); linphone_core_add_auth_info(lc,info);
} }
osip_from_free(from); osip_from_free(from);
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