]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed a typo that printed the following line for every ICMP message sent:
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 8 Sep 2008 23:39:59 +0000 (17:39 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 8 Sep 2008 23:39:59 +0000 (17:39 -0600)
ICMPSquid.cc(125) SendEcho: Wrote 38 of 38 bytes

src/ICMPSquid.cc

index d6acd26faa7532097b046bb003ef0abba4e22d54..bc9c89354de648bc292c7a04bfc9677e0ce6221b 100644 (file)
@@ -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");
     }
 }