Revision
16660
Author
mrene
Date
2010-02-16 11:34:32 -0600 (Tue, 16 Feb 2010)

Log Message

hrum

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c (16659 => 16660)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c	2010-02-16 07:44:02 UTC (rev 16659)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c	2010-02-16 17:34:32 UTC (rev 16660)
@@ -2397,7 +2397,7 @@
 	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