From: Amos Jeffries Date: Sat, 2 Oct 2010 16:38:31 +0000 (+1300) Subject: typos X-Git-Tag: take08~55^2~124^2~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2893289881ebcfedb928f57fb1b2185b2b4c3b9;p=thirdparty%2Fsquid.git typos --- diff --git a/src/pconn.cc b/src/pconn.cc index defa0fcb93..94f79947ab 100644 --- a/src/pconn.cc +++ b/src/pconn.cc @@ -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