From: Alex Rousskov Date: Mon, 8 Sep 2008 23:39:59 +0000 (-0600) Subject: Fixed a typo that printed the following line for every ICMP message sent: X-Git-Tag: SQUID_3_1_0_1~49^2~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9166e142aa92ebf17cb39fc3a947933d3dc8f337;p=thirdparty%2Fsquid.git Fixed a typo that printed the following line for every ICMP message sent: ICMPSquid.cc(125) SendEcho: Wrote 38 of 38 bytes --- diff --git a/src/ICMPSquid.cc b/src/ICMPSquid.cc index d6acd26faa..bc9c89354d 100644 --- a/src/ICMPSquid.cc +++ b/src/ICMPSquid.cc @@ -121,7 +121,7 @@ ICMPSquid::SendEcho(IPAddress &to, int opcode, const char *payload, int len) return; } /** All other send errors are ignored. */ - } else if (x != len) { + } else if (x != slen) { debugs(37, 1, HERE << "Wrote " << x << " of " << slen << " bytes"); } }