From dfe4228c4a76cbb35c6074819da67060cbcd4074 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 17 Jan 2016 14:31:47 +0000 Subject: [PATCH] Fix a compiler warning when building without zlib support --- parsers.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/parsers.c b/parsers.c index 205c2925..745f7cbc 100644 --- a/parsers.c +++ b/parsers.c @@ -1,4 +1,4 @@ -const char parsers_rcs[] = "$Id: parsers.c,v 1.305 2016/01/16 12:32:18 fabiankeil Exp $"; +const char parsers_rcs[] = "$Id: parsers.c,v 1.306 2016/01/16 12:33:36 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/parsers.c,v $ @@ -2372,8 +2372,7 @@ static jb_err server_content_encoding(struct client_state *csp, char **header) /* * Log a warning if the user expects the content to be filtered. */ - if ((csp->rlist != NULL) && - (!list_is_empty(csp->action->multi[ACTION_MULTI_FILTER]))) + if (content_filters_enabled(csp->action)) { log_error(LOG_LEVEL_INFO, "Compressed content detected, content filtering disabled. " -- 2.39.2