diff options
Diffstat (limited to 'apps/app_directed_pickup.c')
-rwxr-xr-x | apps/app_directed_pickup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_directed_pickup.c b/apps/app_directed_pickup.c index 7be20881f..84f350746 100755 --- a/apps/app_directed_pickup.c +++ b/apps/app_directed_pickup.c @@ -57,7 +57,7 @@ static int pickup_exec(struct ast_channel *chan, void *data) char *tmp = NULL, *exten = NULL, *context = NULL; char workspace[256] = ""; - if (!data || ast_strlen_zero(data)) { + if (ast_strlen_zero(data)) { ast_log(LOG_WARNING, "Pickup requires an argument (extension) !\n"); return -1; } |