Add (optional) parens in an if condition in chat()
authorFabian Keil <fk@fabiankeil.de>
Sat, 12 Dec 2020 22:18:31 +0000 (23:18 +0100)
committerFabian Keil <fk@fabiankeil.de>
Mon, 14 Dec 2020 07:49:17 +0000 (08:49 +0100)
jcc.c

diff --git a/jcc.c b/jcc.c
index 875c8a7..ca5943c 100644 (file)
--- a/jcc.c
+++ b/jcc.c
@@ -3670,7 +3670,7 @@ static void chat(struct client_state *csp)
       use_ssl_tunnel = 1;
    }
 
-   if (http->ssl && csp->action->flags & ACTION_IGNORE_CERTIFICATE_ERRORS)
+   if (http->ssl && (csp->action->flags & ACTION_IGNORE_CERTIFICATE_ERRORS))
    {
       csp->dont_verify_certificate = 1;
    }