aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_setcallerid.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_setcallerid.c')
-rwxr-xr-xapps/app_setcallerid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_setcallerid.c b/apps/app_setcallerid.c
index 36b11f9c1..18343b786 100755
--- a/apps/app_setcallerid.c
+++ b/apps/app_setcallerid.c
@@ -106,7 +106,7 @@ static int setcallerid_exec(struct ast_channel *chan, void *data)
char *opt;
int anitoo = 0;
- if (!data || ast_strlen_zero(data)) {
+ if (ast_strlen_zero(data)) {
ast_log(LOG_WARNING, "SetCallerID requires an argument!\n");
return 0;
}