always set location for connected peer. Previous settign was causing blank location display

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4169 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2011-04-25 14:12:34 +00:00
parent 660d5d8e58
commit db428d0cd8

View File

@ -661,8 +661,8 @@ void p3disc::recvPeerDetails(RsDiscReply *item, const std::string &certGpgId)
std::cerr << " -> location: " << pitem->location << std::endl; std::cerr << " -> location: " << pitem->location << std::endl;
#endif #endif
mConnMgr->setNetworkMode(pitem->pid, pitem->netMode); mConnMgr->setNetworkMode(pitem->pid, pitem->netMode);
mConnMgr->setLocation(pitem->pid, pitem->location);
} }
mConnMgr->setLocation(pitem->pid, pitem->location);
// The info from the peer itself is ultimately trustable, so we can override some info, // The info from the peer itself is ultimately trustable, so we can override some info,
// such as: // such as: