]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Better debug for CommCalls connected callback
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 7 Aug 2010 15:32:14 +0000 (03:32 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 7 Aug 2010 15:32:14 +0000 (03:32 +1200)
src/CommCalls.cc

index bf0650fff585df539f8c8599d302dc7d4d4606fd..5c8e647482022575ea449d791b1f96bb9090abba 100644 (file)
@@ -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 */