diff options
Diffstat (limited to 'apps/app_test.c')
-rwxr-xr-x | apps/app_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_test.c b/apps/app_test.c index cbcb05a04..8a3c8c22a 100755 --- a/apps/app_test.c +++ b/apps/app_test.c @@ -137,7 +137,7 @@ static int testclient_exec(struct ast_channel *chan, void *data) FILE *f; /* Check for test id */ - if (!testid || ast_strlen_zero(testid)) { + if (ast_strlen_zero(testid)) { ast_log(LOG_WARNING, "TestClient requires an argument - the test id\n"); return -1; } |