From: Bradley Nicholes Date: Sat, 3 Jan 2004 19:18:53 +0000 (+0000) Subject: Don't hardcode the location of the test_char.h header. The path should be added... X-Git-Tag: pre_ajp_proxy~880 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb529a4d7ceaacc9cd2663a140b9337ffaaf19b4;p=apache Don't hardcode the location of the test_char.h header. The path should be added to the INCLUDE path. Also, use the apr_uint32_t type for next_id which is compatible with the apr_atomic functions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102164 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/loggers/mod_log_forensic.c b/modules/loggers/mod_log_forensic.c index 3a7b010deb..9c9ff7a8a3 100644 --- a/modules/loggers/mod_log_forensic.c +++ b/modules/loggers/mod_log_forensic.c @@ -75,7 +75,7 @@ #include "apr_atomic.h" #include #include "http_protocol.h" -#include "../../server/test_char.h" +#include "test_char.h" module AP_MODULE_DECLARE_DATA log_forensic_module; @@ -84,7 +84,7 @@ typedef struct fcfg { apr_file_t *fd; } fcfg; -static int next_id; +static apr_uint32_t next_id; static void *make_forensic_log_scfg(apr_pool_t *p, server_rec *s) {