Unbreak the build without FEATURE_HTTPS_FILTERING
authorFabian Keil <fk@fabiankeil.de>
Sat, 22 Feb 2020 16:28:31 +0000 (17:28 +0100)
committerFabian Keil <fk@fabiankeil.de>
Sat, 22 Feb 2020 16:32:00 +0000 (17:32 +0100)
jcc.c

diff --git a/jcc.c b/jcc.c
index 591edd7..20337fb 100644 (file)
--- a/jcc.c
+++ b/jcc.c
@@ -3616,7 +3616,11 @@ static void chat(struct client_state *csp)
     * haven't setup the TLS context yet and will send the crunch
     * response later.
     */
-   if (!client_use_ssl(csp) && crunch_response_triggered(csp, crunchers_all))
+   if (
+#ifdef FEATURE_HTTPS_FILTERING
+       !client_use_ssl(csp) &&
+#endif
+       crunch_response_triggered(csp, crunchers_all))
    {
       /*
        * Yes. The client got the crunch response and we're done here.