removed debug output in p3gossipdiscovery.cc

This commit is contained in:
csoler 2020-01-01 18:01:53 +01:00
parent 358aa1e0ab
commit b824bfc166
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -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;