fix switch_false() logic for numbers

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13740 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-06-10 00:14:11 +00:00
parent 965023a8eb
commit f7f48fef3c
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ SWITCH_DECLARE(switch_status_t) switch_frame_free(switch_frame_t **frame);
!strcasecmp(expr, "disabled") ||\
!strcasecmp(expr, "inactive") ||\
!strcasecmp(expr, "disallow") ||\
!(switch_is_number(expr) && atoi(expr)))) ? SWITCH_TRUE : SWITCH_FALSE)
(switch_is_number(expr) && !atoi(expr)))) ? SWITCH_TRUE : SWITCH_FALSE)
/*!