]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
From: Ron Gomes <rrg@ny.ubs.com>
authorwessels <>
Tue, 12 Nov 1996 14:06:45 +0000 (14:06 +0000)
committerwessels <>
Tue, 12 Nov 1996 14:06:45 +0000 (14:06 +0000)
Oddly enough I had spotted this (eyeballing the code) the day before I
got your mail.  The following change ought to fix it (the diff is
against 1.1.beta16):

src/stat.cc

index 1fc6e68091649533600f6c2aaa66e989f58c4f44..df75a56b2c0df8666e7244ffc9b7f99b2c52cfe0 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: stat.cc,v 1.101 1996/11/08 00:02:23 wessels Exp $
+ * $Id: stat.cc,v 1.102 1996/11/12 07:06:45 wessels Exp $
  *
  * DEBUG: section 18    Cache Manager Statistics
  * AUTHOR: Harvest Derived
@@ -996,11 +996,11 @@ static char c2x[] =
 
 /* log_quote -- URL-style encoding on MIME headers. */
 
-char *
-log_quote(const char *header)
+static char *
+log_quote(const unsigned char *header)
 {
     int c, i;
-    char *buf, *buf_cursor;
+    unsigned char *buf, *buf_cursor;
     if (header == NULL) {
        buf = xcalloc(1, 1);
        *buf = '\0';