From: Mathieu Rene Date: Tue, 16 Feb 2010 17:34:32 +0000 (+0000) Subject: hrum X-Git-Tag: v1.0.6~464 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd1c97b23fd33e04f5dd83bf8dcf76e552d1211e;p=thirdparty%2Ffreeswitch.git hrum git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16660 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index 5248ad840b..8a9be5735a 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -2397,7 +2397,7 @@ switch_status_t sofia_reg_gateway_rdlock__(const char *file, const char *func, i switch_status_t status = sofia_glue_profile_rdlock__(file, func, line, gateway->profile); #ifdef SOFIA_DEBUG_RWLOCKS - if (status != SWITCH_STATUS_SUCCESS) { + if (status == SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, SWITCH_LOG_ERROR, "XXXXXXXXXXXXXX GW LOCK %s\n", gateway->profile->name); } #endif