summaryrefslogtreecommitdiffstats
path: root/modules/loggers/mod_log_forensic.c
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2004-01-03 20:18:53 +0100
committerBradley Nicholes <bnicholes@apache.org>2004-01-03 20:18:53 +0100
commiteb529a4d7ceaacc9cd2663a140b9337ffaaf19b4 (patch)
tree5c9a74b433362a09b524ec304fa0c4dfb5061abf /modules/loggers/mod_log_forensic.c
parentMake handling of 0 back compatible. (diff)
downloadapache2-eb529a4d7ceaacc9cd2663a140b9337ffaaf19b4.tar.xz
apache2-eb529a4d7ceaacc9cd2663a140b9337ffaaf19b4.zip
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
Diffstat (limited to 'modules/loggers/mod_log_forensic.c')
-rw-r--r--modules/loggers/mod_log_forensic.c4
1 files changed, 2 insertions, 2 deletions
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 <unistd.h>
#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)
{