summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRob Percival <robpercival@google.com>2016-03-07 18:38:06 +0000
committerRich Salz <rsalz@openssl.org>2016-03-09 11:34:48 -0500
commit70073f3e3aeb3b7dd15f20b557a8340a197d976e (patch)
treeb4ed734542cef7b843b6c28b3bf9c065adc51a29 /apps
parent8c92c4eac091e1a588a980514e7f5fd2a517fefc (diff)
Treat boolean functions as booleans
Use "!x" instead of "x <= 0", as these functions never return a negative value. Reviewed-by: Emilia Käsper <emilia@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r--apps/s_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index 725dcd3a83..25f51487f1 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -1669,7 +1669,7 @@ int s_client_main(int argc, char **argv)
goto end;
}
- if (ctx_set_ctlog_list_file(ctx, ctlog_file) <= 0) {
+ if (!ctx_set_ctlog_list_file(ctx, ctlog_file)) {
ERR_print_errors(bio_err);
goto end;
}