aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_test.c')
-rwxr-xr-xapps/app_test.c2
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;
}