]> granicus.if.org Git - apache/commitdiff
Follow up to r1856490: missing one mod_log_forensic test_char_table case.
authorYann Ylavic <ylavic@apache.org>
Thu, 28 Mar 2019 16:27:26 +0000 (16:27 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 28 Mar 2019 16:27:26 +0000 (16:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1856491 13f79535-47bb-0310-9956-ffa450edef68

modules/loggers/mod_log_forensic.c

index f4ef129a570ddd533c60df43b65e9f31bf5c273e..f644a65f8d5e11c3539bec856532ed35751644a1 100644 (file)
@@ -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;
 }