hrum
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16660 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
6f9c33ccf9
commit
cd1c97b23f
|
@ -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);
|
switch_status_t status = sofia_glue_profile_rdlock__(file, func, line, gateway->profile);
|
||||||
|
|
||||||
#ifdef SOFIA_DEBUG_RWLOCKS
|
#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);
|
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, SWITCH_LOG_ERROR, "XXXXXXXXXXXXXX GW LOCK %s\n", gateway->profile->name);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue