From 491c480252c34c33e1e4168470b72c4901c1fa2b Mon Sep 17 00:00:00 2001 From: smorlat Date: Tue, 1 Dec 2009 14:47:53 +0000 Subject: [PATCH] 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 --- linphone/console/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linphone/console/commands.c b/linphone/console/commands.c index 0bdb6032c..445bf0e39 100644 --- a/linphone/console/commands.c +++ b/linphone/console/commands.c @@ -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);