only need realm on auth

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3200 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-10-25 17:00:57 +00:00
parent 305bc19458
commit ac6f80b95d
1 changed files with 5 additions and 4 deletions

View File

@ -3927,12 +3927,13 @@ static void sip_r_register(int status,
}
}
}
if (!(scheme && realm)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "No scheme and realm!\n");
return;
}
}
if (!(scheme && realm)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "No scheme and realm!\n");
return;
}
if (sofia_private) {
if (sofia_private->oreg) {