From: Michael Jerris Date: Wed, 25 Oct 2006 17:00:57 +0000 (+0000) Subject: only need realm on auth X-Git-Tag: v1.0-beta1~1821 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac6f80b95d9d181deb624f403227ea975fb3f63d;p=thirdparty%2Ffreeswitch.git only need realm on auth git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3200 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 5a63f49cc8..a26fd82796 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -3927,13 +3927,14 @@ 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) { oreg = sofia_private->oreg;