]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Cleanup: Display correct error code in debugging output for IoCallback::finish
authorAlex Dowad <alexinbeijing@gmail.com>
Wed, 29 Apr 2015 11:26:53 +0000 (04:26 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 29 Apr 2015 11:26:53 +0000 (04:26 -0700)
It seems clear that the debugging log message in IoCallback::finish
was intended to display the arguments passed to the method.

src/comm/IoCallback.cc

index b28c8ec0b1debce63e9819c3ec0865def62a40e6..188805c85d5c0916f7e25536f9e476d0e49dbf2c 100644 (file)
@@ -113,7 +113,7 @@ Comm::IoCallback::reset()
 void
 Comm::IoCallback::finish(Comm::Flag code, int xerrn)
 {
-    debugs(5, 3, HERE << "called for " << conn << " (" << code << ", " << xerrno << ")");
+    debugs(5, 3, "called for " << conn << " (" << code << ", " << xerrn << ")");
     assert(active());
 
     /* free data */