stupid bug. checking against the wrong end of list.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-peernet@4342 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2011-06-26 19:00:14 +00:00
parent 2965091b65
commit 1ba11dd30d

View File

@ -2736,7 +2736,7 @@ int bdConnectionRequest::checkGoodProxyPeer(const bdId *id)
std::cerr << std::endl;
std::list<bdId>::iterator it = std::find(mPotentialProxies.begin(), mPotentialProxies.end(), *id);
if (it != mPeersTried.end())
if (it != mPotentialProxies.end())
{
std::cerr << "bdConnectionRequest::checkProxyPeer() Found in PotentialProxies List, adding in";
std::cerr << std::endl;