]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
hrum
authorMathieu Rene <mrene@avgs.ca>
Tue, 16 Feb 2010 17:34:32 +0000 (17:34 +0000)
committerMathieu Rene <mrene@avgs.ca>
Tue, 16 Feb 2010 17:34:32 +0000 (17:34 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16660 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_reg.c

index 5248ad840b42f339f0c6cfa861a9cc48f0f23671..8a9be5735a23dc6ae35bf168eda856e35a01417b 100644 (file)
@@ -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