From df706a8900728f959c8f227580fe45227495fb81 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 8 Nov 2005 01:55:31 +0000 Subject: issue #5648 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7011 f38db490-d61c-443f-a65b-d21fe96a405b --- funcs/func_enum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'funcs/func_enum.c') diff --git a/funcs/func_enum.c b/funcs/func_enum.c index 2d5d21962..8034be878 100755 --- a/funcs/func_enum.c +++ b/funcs/func_enum.c @@ -64,7 +64,7 @@ static char *function_enum(struct ast_channel *chan, char *cmd, char *data, char int i = 0; - if (!data || ast_strlen_zero(data)) { + if (ast_strlen_zero(data)) { ast_log(LOG_WARNING, synopsis); return ""; } @@ -166,7 +166,7 @@ static char *function_txtcidname(struct ast_channel *chan, char *cmd, char *data buf[0] = '\0'; - if (!data || ast_strlen_zero(data)) { + if (ast_strlen_zero(data)) { ast_log(LOG_WARNING, "TXTCIDNAME requires an argument (number)\n"); LOCAL_USER_REMOVE(u); return buf; -- cgit v1.2.3