diff options
Diffstat (limited to 'apps/app_random.c')
-rwxr-xr-x | apps/app_random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_random.c b/apps/app_random.c index 5f2c6cd87..08e1d188a 100755 --- a/apps/app_random.c +++ b/apps/app_random.c @@ -63,7 +63,7 @@ static int random_exec(struct ast_channel *chan, void *data) char *prob; int probint; - if (!data || ast_strlen_zero(data)) { + if (ast_strlen_zero(data)) { ast_log(LOG_WARNING, "Random requires an argument ([probability]:[[context|]extension|]priority)\n"); return -1; } |