From: Amos Jeffries Date: Sat, 7 Aug 2010 15:32:14 +0000 (+1200) Subject: Better debug for CommCalls connected callback X-Git-Tag: take08~55^2~124^2~93 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2aecafa92dec9ce9fef8cf47bad48f1d6ea65499;p=thirdparty%2Fsquid.git Better debug for CommCalls connected callback --- diff --git a/src/CommCalls.cc b/src/CommCalls.cc index bf0650fff5..5c8e647482 100644 --- a/src/CommCalls.cc +++ b/src/CommCalls.cc @@ -63,7 +63,7 @@ CommConnectCbParams::syncWithComm() // drop the call if the call was scheduled before comm_close but // is being fired after comm_close if (fd >= 0 && fd_table[fd].closing()) { - debugs(5, 3, HERE << "droppin late connect call: FD " << fd); + debugs(5, 3, HERE << "dropping late connect call: FD " << fd); return false; } return true; // now we are in sync and can handle the call @@ -74,7 +74,7 @@ CommConnectCbParams::print(std::ostream &os) const { CommCommonCbParams::print(os); if (conn != NULL) - os << ", conn.local=" << conn->local << ", conn.remote=" << conn->remote; + os << ", conn.FD " << conn->fd << ", conn.local=" << conn->local << ", conn.remote=" << conn->remote; } /* CommIoCbParams */