FS-5214 --resolve

This commit is contained in:
Anthony Minessale 2013-03-25 17:02:05 -05:00
parent 772e9f4c70
commit b6ed7c26c3
1 changed files with 10 additions and 7 deletions

View File

@ -420,6 +420,7 @@ static inline int switch_true(const char *expr)
return ((expr && ( !strcasecmp(expr, "yes") || return ((expr && ( !strcasecmp(expr, "yes") ||
!strcasecmp(expr, "on") || !strcasecmp(expr, "on") ||
!strcasecmp(expr, "true") || !strcasecmp(expr, "true") ||
!strcasecmp(expr, "t") ||
!strcasecmp(expr, "enabled") || !strcasecmp(expr, "enabled") ||
!strcasecmp(expr, "active") || !strcasecmp(expr, "active") ||
!strcasecmp(expr, "allow") || !strcasecmp(expr, "allow") ||
@ -430,6 +431,7 @@ static inline int switch_true(const char *expr)
((( !strcasecmp(expr, "yes") ||\ ((( !strcasecmp(expr, "yes") ||\
!strcasecmp(expr, "on") ||\ !strcasecmp(expr, "on") ||\
!strcasecmp(expr, "true") ||\ !strcasecmp(expr, "true") ||\
!strcasecmp(expr, "t") ||\
!strcasecmp(expr, "enabled") ||\ !strcasecmp(expr, "enabled") ||\
!strcasecmp(expr, "active") ||\ !strcasecmp(expr, "active") ||\
!strcasecmp(expr, "allow") ||\ !strcasecmp(expr, "allow") ||\
@ -445,6 +447,7 @@ static inline int switch_false(const char *expr)
return ((expr && ( !strcasecmp(expr, "no") || return ((expr && ( !strcasecmp(expr, "no") ||
!strcasecmp(expr, "off") || !strcasecmp(expr, "off") ||
!strcasecmp(expr, "false") || !strcasecmp(expr, "false") ||
!strcasecmp(expr, "f") ||
!strcasecmp(expr, "disabled") || !strcasecmp(expr, "disabled") ||
!strcasecmp(expr, "inactive") || !strcasecmp(expr, "inactive") ||
!strcasecmp(expr, "disallow") || !strcasecmp(expr, "disallow") ||