mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
in register command, don't set realm as we don't know it at the time of the command.
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@776 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
c3eb04900b
commit
491c480252
1 changed files with 1 additions and 1 deletions
|
|
@ -1376,7 +1376,7 @@ static int lpc_cmd_register(LinphoneCore *lc, char *args){
|
|||
if (osip_from_parse(from,identity)==0){
|
||||
char realm[128];
|
||||
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);
|
||||
}
|
||||
osip_from_free(from);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue