]> granicus.if.org Git - apache/commitdiff
* modules/loggers/mod_log_forensic.c (struct hlog, log_before,
authorJoe Orton <jorton@apache.org>
Sat, 3 Jan 2004 15:49:57 +0000 (15:49 +0000)
committerJoe Orton <jorton@apache.org>
Sat, 3 Jan 2004 15:49:57 +0000 (15:49 +0000)
log_after): Use apr_size_t for storing string sizes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102154 13f79535-47bb-0310-9956-ffa450edef68

modules/loggers/mod_log_forensic.c

index 95157f202b443217b8414d941fd89f0c2f08f614..65c91ce0c9db87c72e29e51b3d53a089ce425773 100644 (file)
@@ -177,7 +177,7 @@ typedef struct hlog {
     char *pos;
     char *end;
     apr_pool_t *p;
-    int count;
+    size_t count;
 } hlog;
 
 static int count_string(const char *p)
@@ -219,7 +219,7 @@ static int log_before(request_rec *r)
                                      &log_forensic_module);
     const char *id;
     hlog h;
-    int n;
+    apr_size_t n;
     apr_status_t rv;
 
     if (!cfg->fd) {
@@ -271,7 +271,7 @@ static int log_after(request_rec *r)
     const char *id = ap_get_module_config(r->request_config,
                                           &log_forensic_module);
     char *s;
-    int l,n;
+    apr_size_t l, n;
     apr_status_t rv;
 
     if (!cfg->fd) {