From: wessels <> Date: Sun, 14 Apr 1996 09:05:50 +0000 (+0000) Subject: make storeAppend void X-Git-Tag: SQUID_3_0_PRE1~6190 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a2cc6ac9522509acacbbf833b0a948f30571dc43;p=thirdparty%2Fsquid.git make storeAppend void --- diff --git a/src/stat.cc b/src/stat.cc index 87c0eba60f..5817479ad3 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -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 */