FS-11093 #resolve switch_true should return switch_bool_t

This commit is contained in:
Seven Du 2018-04-13 09:45:57 +08:00 committed by Muteesa Fred
parent d48db7c979
commit a0fd0a1b44
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ SWITCH_DECLARE(char *) switch_find_parameter(const char *str, const char *param,
\param expr a string expression
\return true or false
*/
static inline int switch_true(const char *expr)
static inline switch_bool_t switch_true(const char *expr)
{
return ((expr && ( !strcasecmp(expr, "yes") ||
!strcasecmp(expr, "on") ||