aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_mp3.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_mp3.c')
-rwxr-xr-xapps/app_mp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_mp3.c b/apps/app_mp3.c
index 2c0334042..51844fa25 100755
--- a/apps/app_mp3.c
+++ b/apps/app_mp3.c
@@ -128,7 +128,7 @@ static int mp3_exec(struct ast_channel *chan, void *data)
short frdata[160];
} myf;
- if (!data || ast_strlen_zero(data)) {
+ if (ast_strlen_zero(data)) {
ast_log(LOG_WARNING, "MP3 Playback requires an argument (filename)\n");
return -1;
}