From: serassio <> Date: Tue, 19 Sep 2006 23:17:52 +0000 (+0000) Subject: Fix a forgotten change during recent comm layer rework X-Git-Tag: SQUID_3_0_PRE5~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a8c65c3c1c2c344ed281c1ade9e00cbfcba958c;p=thirdparty%2Fsquid.git Fix a forgotten change during recent comm layer rework --- diff --git a/src/ICAP/ICAPXaction.cc b/src/ICAP/ICAPXaction.cc index 2411127657..ab8bbd2bfd 100644 --- a/src/ICAP/ICAPXaction.cc +++ b/src/ICAP/ICAPXaction.cc @@ -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); } diff --git a/src/ICAP/ICAPXaction.h b/src/ICAP/ICAPXaction.h index b37194e1d2..4999fcd13d 100644 --- a/src/ICAP/ICAPXaction.h +++ b/src/ICAP/ICAPXaction.h @@ -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