You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2019/03/28 16:27:27 UTC

svn commit: r1856491 - /httpd/httpd/trunk/modules/loggers/mod_log_forensic.c

Author: ylavic
Date: Thu Mar 28 16:27:26 2019
New Revision: 1856491

URL: http://svn.apache.org/viewvc?rev=1856491&view=rev
Log:
Follow up to r1856490: missing one mod_log_forensic test_char_table case.

Modified:
    httpd/httpd/trunk/modules/loggers/mod_log_forensic.c

Modified: httpd/httpd/trunk/modules/loggers/mod_log_forensic.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/loggers/mod_log_forensic.c?rev=1856491&r1=1856490&r2=1856491&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/loggers/mod_log_forensic.c (original)
+++ httpd/httpd/trunk/modules/loggers/mod_log_forensic.c Thu Mar 28 16:27:26 2019
@@ -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;
 }