From: wessels <> Date: Thu, 20 May 1999 04:36:42 +0000 (+0000) Subject: don't need error flag on STRCB because we'll call STIOCB on error X-Git-Tag: SQUID_3_0_PRE1~2194 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91361604ed6af060c2877f274a7892209d0c01db;p=thirdparty%2Fsquid.git don't need error flag on STRCB because we'll call STIOCB on error and STRCB is only called upon a successful read. --- diff --git a/src/store_client.cc b/src/store_client.cc index 655fa153d0..73c7402262 100644 --- a/src/store_client.cc +++ b/src/store_client.cc @@ -1,6 +1,6 @@ /* - * $Id: store_client.cc,v 1.68 1999/05/19 19:57:54 wessels Exp $ + * $Id: store_client.cc,v 1.69 1999/05/19 22:36:42 wessels Exp $ * * DEBUG: section 20 Storage Manager Client-Side Interface * AUTHOR: Duane Wessels @@ -313,7 +313,7 @@ storeClientFileRead(store_client * sc) } static void -storeClientReadBody(void *data, const char *buf, size_t len, int flagnotused) +storeClientReadBody(void *data, const char *buf, size_t len) { store_client *sc = data; MemObject *mem = sc->entry->mem_obj; @@ -329,7 +329,7 @@ storeClientReadBody(void *data, const char *buf, size_t len, int flagnotused) } static void -storeClientReadHeader(void *data, const char *buf, size_t len, int flagnotused) +storeClientReadHeader(void *data, const char *buf, size_t len) { store_client *sc = data; StoreEntry *e = sc->entry; diff --git a/src/typedefs.h b/src/typedefs.h index e63ab14ccc..f62a355620 100644 --- a/src/typedefs.h +++ b/src/typedefs.h @@ -1,6 +1,6 @@ /* - * $Id: typedefs.h,v 1.89 1999/05/03 21:55:16 wessels Exp $ + * $Id: typedefs.h,v 1.90 1999/05/19 22:36:45 wessels Exp $ * * * SQUID Internet Object Cache http://squid.nlanr.net/Squid/ @@ -197,7 +197,7 @@ typedef void UH(void *data, wordlist *); typedef int DEFER(int fd, void *data); typedef void STIOCB(void *their_data, int errflag, storeIOState *); -typedef void STRCB(void *their_data, const char *buf, size_t len, int errflag); +typedef void STRCB(void *their_data, const char *buf, size_t len); typedef void SIH(storeIOState *, void *); /* swap in */ typedef int QS(const void *, const void *); /* qsort */