From: adrian <> Date: Mon, 21 Oct 2002 21:13:23 +0000 (+0000) Subject: Fix typo which caused comm_write() to use the fill handler_data! X-Git-Tag: SQUID_3_0_PRE1~598 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91360be7a155c530e39329f8c34f0b950ef0e6a7;p=thirdparty%2Fsquid.git Fix typo which caused comm_write() to use the fill handler_data! --- diff --git a/src/comm.cc b/src/comm.cc index eac1ce369f..5d9922f078 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,6 +1,6 @@ /* - * $Id: comm.cc,v 1.347 2002/10/21 14:48:15 adrian Exp $ + * $Id: comm.cc,v 1.348 2002/10/21 15:13:23 adrian Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -283,7 +283,7 @@ comm_add_write_callback(int fd, size_t retval, comm_err_t errcode, int xerrno) cio->xerrno = xerrno; cio->errcode = errcode; cio->c.w_callback = fdc_table[fd].write.handler; - cio->callback_data = fdc_table[fd].fill.handler_data; + cio->callback_data = fdc_table[fd].write.handler_data; cio->seqnum = CommCallbackSeqnum; cio->type = COMM_CB_WRITE; cio->retval = retval;