fixing if's to be correct

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12001 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West committed 2009-02-13 22:27:05 +00:00
1 parent ba03619be5
commit 2633fad70e
9 files changed
+19 -19

No files matched your search

@@ -155,9 +155,9 @@ static switch_status_t my_on_routing(switch_core_session_t *session)
return SWITCH_STATUS_FALSE;
}
if(channel) {
if (channel) {
const char *disable_flag = switch_channel_get_variable(channel, "disable_radius_start");
if(switch_true(disable_flag)) {
if (switch_true(disable_flag)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "[mod_radius_cdr] Not Sending RADIUS Start\n");
return SWITCH_STATUS_SUCCESS;
}
@@ -396,9 +396,9 @@ static switch_status_t my_on_hangup(switch_core_session_t *session)
}
if(channel) {
if (channel) {
const char *disable_flag = switch_channel_get_variable(channel, "disable_radius_stop");
if(switch_true(disable_flag)) {
if (switch_true(disable_flag)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "[mod_radius_cdr] Not Sending RADIUS Stop\n");
return SWITCH_STATUS_SUCCESS;
}