]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
make storeAppend void
authorwessels <>
Sun, 14 Apr 1996 09:05:50 +0000 (09:05 +0000)
committerwessels <>
Sun, 14 Apr 1996 09:05:50 +0000 (09:05 +0000)
src/stat.cc

index 87c0eba60f05bc44ad781292011dea258c04d19f..5817479ad3b460b1289892875589ebdd60427803 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: stat.cc,v 1.22 1996/04/11 22:52:30 wessels Exp $ */
+/* $Id: stat.cc,v 1.23 1996/04/14 03:05:50 wessels Exp $ */
 
 /*
  * DEBUG: Section 18          stat
@@ -230,9 +230,10 @@ int logReadHandler(fd_unused, buf, size_unused, data)
     static char tempbuf[MAX_LINELEN];
 
     sprintf(tempbuf, "{%s}\n", buf);
-    return storeAppend(data->sentry,
+    storeAppend(data->sentry,
        tempbuf,
        (int) strlen(tempbuf) % MAX_LINELEN);
+    return 0;
 }
 
 /* log convert end handler */
@@ -285,9 +286,10 @@ int cachedReadHandler(fd_unused, buf, size_unused, data)
     static char tempbuf[MAX_LINELEN];
     tempbuf[0] = '\0';
     sprintf(tempbuf, "{\"%s\"}\n", buf);
-    return storeAppend(data->sentry,
+    storeAppend(data->sentry,
        tempbuf,
        (int) strlen(tempbuf) % MAX_LINELEN);
+    return 0;
 }
 
 /* cached convert end handler */