aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_ivrdemo.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_ivrdemo.c')
-rwxr-xr-xapps/app_ivrdemo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_ivrdemo.c b/apps/app_ivrdemo.c
index c91fde4a5..16cf45718 100755
--- a/apps/app_ivrdemo.c
+++ b/apps/app_ivrdemo.c
@@ -89,7 +89,7 @@ static int skel_exec(struct ast_channel *chan, void *data)
int res=0;
struct localuser *u;
- if (!data || ast_strlen_zero(data)) {
+ if (ast_strlen_zero(data)) {
ast_log(LOG_WARNING, "skel requires an argument (filename)\n");
return -1;
}