From: Yann Ylavic Date: Thu, 28 Mar 2019 16:27:26 +0000 (+0000) Subject: Follow up to r1856490: missing one mod_log_forensic test_char_table case. X-Git-Tag: 2.5.0-alpha2-ci-test-only~2086 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5c0032baf0e3c1d35f7abd5fdff7a262d8f7881;p=thirdparty%2Fapache%2Fhttpd.git Follow up to r1856490: missing one mod_log_forensic test_char_table case. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1856491 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/loggers/mod_log_forensic.c b/modules/loggers/mod_log_forensic.c index f4ef129a570..f644a65f8d5 100644 --- a/modules/loggers/mod_log_forensic.c +++ b/modules/loggers/mod_log_forensic.c @@ -151,7 +151,7 @@ static int count_string(const char *p) int n; for (n = 0 ; *p ; ++p, ++n) - if (test_char_table[*(unsigned char *)p]&T_ESCAPE_FORENSIC) + if (TEST_CHAR(*p, T_ESCAPE_FORENSIC)) n += 2; return n; }