summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Limberg <glimberg@gmail.com>2015-10-02 19:39:46 -0700
committerGrant Limberg <glimberg@gmail.com>2015-10-02 19:39:46 -0700
commitc16ad053b69206c8c710ceabeb4c20ea15865466 (patch)
tree462865a807d304f2c563bd6d8941d6b8549b28ab
parent6080a45c9ce2494ff787063ab06831158f17ec2b (diff)
downloadinfinitytier-c16ad053b69206c8c710ceabeb4c20ea15865466.tar.gz
infinitytier-c16ad053b69206c8c710ceabeb4c20ea15865466.zip
no toString() method on peer. Commenting out for now.
-rw-r--r--node/Network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Network.cpp b/node/Network.cpp
index a9e4e55b..69f8245e 100644
--- a/node/Network.cpp
+++ b/node/Network.cpp
@@ -393,9 +393,9 @@ bool Network::_isAllowed(const SharedPtr<Peer> &peer) const
return true;
return ((_config->com())&&(peer->networkMembershipCertificatesAgree(_id,_config->com())));
} catch (std::exception &exc) {
- TRACE("isAllowed() check failed for peer %s: unexpected exception: %s",peer.toString().c_str(),exc.what());
+ TRACE("isAllowed() check failed for peer %s: unexpected exception: %s","" /*peer->toString().c_str() */,exc.what());
} catch ( ... ) {
- TRACE("isAllowed() check failed for peer %s: unexpected exception: unknown exception",peer.toString().c_str());
+ TRACE("isAllowed() check failed for peer %s: unexpected exception: unknown exception", "" /*peer.toString().c_str()*/);
}
return false; // default position on any failure
}