]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
typos
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 2 Oct 2010 16:38:31 +0000 (05:38 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 2 Oct 2010 16:38:31 +0000 (05:38 +1300)
src/pconn.cc

index defa0fcb93d8b3586b4892e1de71c37b6be595b9..94f79947abaedfedf7ddff4f460a8284e5c91b4f 100644 (file)
@@ -154,11 +154,11 @@ IdleConnList::findUseable(const Comm::ConnectionPointer &key)
             continue;
 
         // local end port is required, but dont match.
-        if (conn->local.GetPort() > 0 && conn->local.GetPort() != theList[index]->local.GetPort())
+        if (key->local.GetPort() > 0 && key->local.GetPort() != theList[i]->local.GetPort())
             continue;
 
         // local address is required, but does not match.
-        if (!conn->local.IsAnyAddr() && conn->local.matchIPAddr(theList[index]->local) != 0)
+        if (!key->local.IsAnyAddr() && key->local.matchIPAddr(theList[i]->local) != 0)
             continue;
 
         // finally, a match