]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix a forgotten change during recent comm layer rework
authorserassio <>
Tue, 19 Sep 2006 23:17:52 +0000 (23:17 +0000)
committerserassio <>
Tue, 19 Sep 2006 23:17:52 +0000 (23:17 +0000)
src/ICAP/ICAPXaction.cc
src/ICAP/ICAPXaction.h

index 2411127657fe51e9691998c9d9c4e77efce4cc67..ab8bbd2bfdc66c73bd25abc030dec986bdbd44c0 100644 (file)
@@ -177,8 +177,8 @@ void ICAPXaction::noteCommConnected(comm_err_t commStatus)
 void ICAPXaction::scheduleWrite(MemBuf &buf)
 {
     // comm module will free the buffer
-    writer = &ICAPXaction_noteCommWrote;
-    comm_old_write_mbuf(connection, &buf, writer, this);
+    writer = (IOCB *)&ICAPXaction_noteCommWrote;
+    comm_write_mbuf(connection, &buf, writer, this);
     fd_table[connection].noteUse(icapPconnPool);
     commSetTimeout(connection, 61, &ICAPXaction_noteCommTimedout, this);
 }
index b37194e1d20a38ae73fc95236af9847b12811c06..4999fcd13d1c2fc71d0c5b40579492c8412ede2e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ICAPXaction.h,v 1.7 2006/08/07 02:28:24 robertc Exp $
+ * $Id: ICAPXaction.h,v 1.8 2006/09/19 17:17:52 serassio Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -131,7 +131,7 @@ protected:
     // active (pending) comm callbacks for the ICAP server connection
     CNCB *connector;
     IOCB *reader;
-    CWCB *writer;
+    IOCB *writer;
     PF *closer;
 
     const char *typeName; // the type of the final class (child), for debugging