]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
don't need error flag on STRCB because we'll call STIOCB on error
authorwessels <>
Thu, 20 May 1999 04:36:42 +0000 (04:36 +0000)
committerwessels <>
Thu, 20 May 1999 04:36:42 +0000 (04:36 +0000)
and STRCB is only called upon a successful read.

src/store_client.cc
src/typedefs.h

index 655fa153d0fbf12790df68e9ae03a731d75a6d61..73c7402262c6cb35f5cfab70fcbd8c5c2fe212f4 100644 (file)
@@ -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;
index e63ab14ccc2a97ed4ef3353af1f3ef9b7dbbe416..f62a355620f716b2078c9e925463c2e65c3f0c77 100644 (file)
@@ -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 */