mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-28 00:07:09 -05:00
removed debug output in p3gossipdiscovery.cc
This commit is contained in:
parent
358aa1e0ab
commit
b824bfc166
@ -32,7 +32,6 @@
|
|||||||
/****
|
/****
|
||||||
* #define P3DISC_DEBUG 1
|
* #define P3DISC_DEBUG 1
|
||||||
****/
|
****/
|
||||||
#define P3DISC_DEBUG 1
|
|
||||||
|
|
||||||
/*extern*/ std::shared_ptr<RsGossipDiscovery> rsGossipDiscovery(nullptr);
|
/*extern*/ std::shared_ptr<RsGossipDiscovery> rsGossipDiscovery(nullptr);
|
||||||
|
|
||||||
@ -951,11 +950,9 @@ void p3discovery2::processContactInfo(const RsPeerId &fromId, const RsDiscContac
|
|||||||
return ; // fresh information here.
|
return ; // fresh information here.
|
||||||
|
|
||||||
bool should_notify_discovery = false;
|
bool should_notify_discovery = false;
|
||||||
auto sit= it->second.mSslIds.find(item->sslId);
|
|
||||||
|
|
||||||
DiscSslInfo& sslInfo(it->second.mSslIds[item->sslId]); // This line inserts the entry while not removing already existing data
|
DiscSslInfo& sslInfo(it->second.mSslIds[item->sslId]); // This line inserts the entry while not removing already existing data
|
||||||
// do not remove it!
|
// do not remove it!
|
||||||
|
|
||||||
if (!mPeerMgr->isFriend(item->sslId))
|
if (!mPeerMgr->isFriend(item->sslId))
|
||||||
{
|
{
|
||||||
should_notify_discovery = true;
|
should_notify_discovery = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user