--------------------- PatchSet 3801 Date: 2006/09/30 05:08:06 Author: rousskov Branch: squid3-icap Tag: (none) Log: - Fixed ICAPXaction_noteCommWrote() profile to match that of IOCB (Tsantilas Christos ) Members: src/ICAP/ICAPXaction.cc:1.1.2.2->1.1.2.3 Index: squid3/src/ICAP/ICAPXaction.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ICAP/ICAPXaction.cc,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- squid3/src/ICAP/ICAPXaction.cc 29 Sep 2006 23:27:15 -0000 1.1.2.2 +++ squid3/src/ICAP/ICAPXaction.cc 30 Sep 2006 05:08:06 -0000 1.1.2.3 @@ -46,7 +46,7 @@ } static -void ICAPXaction_noteCommWrote(int, char *, size_t size, comm_err_t status, void *data) +void ICAPXaction_noteCommWrote(int, char *, size_t size, comm_err_t status, int xerrno, void *data) { ICAPXaction_fromData(data).noteCommWrote(status, size); } @@ -177,7 +177,7 @@ void ICAPXaction::scheduleWrite(MemBuf &buf) { // comm module will free the buffer - writer = (IOCB *)&ICAPXaction_noteCommWrote; + writer = &ICAPXaction_noteCommWrote; comm_write_mbuf(connection, &buf, writer, this); fd_table[connection].noteUse(icapPconnPool); commSetTimeout(connection, 61, &ICAPXaction_noteCommTimedout, this);