aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_readfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_readfile.c')
-rwxr-xr-xapps/app_readfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_readfile.c b/apps/app_readfile.c
index 07d30ed78..4012bc6a2 100755
--- a/apps/app_readfile.c
+++ b/apps/app_readfile.c
@@ -63,7 +63,7 @@ static int readfile_exec(struct ast_channel *chan, void *data)
char *s, *varname=NULL, *file=NULL, *length=NULL, *returnvar=NULL;
int len=0;
- if (!data || ast_strlen_zero(data)) {
+ if (ast_strlen_zero(data)) {
ast_log(LOG_WARNING, "ReadFile require an argument!\n");
return -1;
}