]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
- Squid-1.0 changes up to 1.0.4.
authorwessels <>
Thu, 25 Jul 1996 11:47:33 +0000 (11:47 +0000)
committerwessels <>
Thu, 25 Jul 1996 11:47:33 +0000 (11:47 +0000)
src/gopher.cc

index faaaaa2c3e4381dd184be6bf084fdf34e7d9e575..cb2b56c59dff8ac7176f42916a365a32940978be 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: gopher.cc,v 1.35 1996/07/20 03:16:50 wessels Exp $
+ * $Id: gopher.cc,v 1.36 1996/07/25 05:47:33 wessels Exp $
  *
  * DEBUG: section 10    Gopher
  * AUTHOR: Harvest Derived
@@ -386,9 +386,9 @@ void gopherToHTML(data, inbuf, len)
     char gtype;
     StoreEntry *entry = NULL;
 
-    memset(outbuf, '\0', sizeof(outbuf));
-    memset(tmpbuf, '\0', sizeof(outbuf));
-    memset(line, '\0', sizeof(outbuf));
+    memset(outbuf, '\0', TEMP_BUF_SIZE << 4);
+    memset(tmpbuf, '\0', TEMP_BUF_SIZE);
+    memset(line, '\0', TEMP_BUF_SIZE);
 
     entry = data->entry;