summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-16 11:13:02 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-16 11:13:02 -0800
commitf5b465c0e1e16a32e1593a349219122c4f5e2126 (patch)
treed2c764dfd156574425fbc19b9151e9397d66f1e9 /node
parent6ac70ba80839e152b84c48a133464058863deb6a (diff)
parent75f8ee1b9c25403b7fbd42b901d98ddbce7f89f5 (diff)
downloadinfinitytier-f5b465c0e1e16a32e1593a349219122c4f5e2126.tar.gz
infinitytier-f5b465c0e1e16a32e1593a349219122c4f5e2126.zip
Merge branch 'edge' of http://10.6.6.2/zerotier/ZeroTierOne into edge
Diffstat (limited to 'node')
-rw-r--r--node/Topology.cpp4
-rw-r--r--node/Topology.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/node/Topology.cpp b/node/Topology.cpp
index 1617dd94..3d1db337 100644
--- a/node/Topology.cpp
+++ b/node/Topology.cpp
@@ -128,8 +128,8 @@ SharedPtr<Peer> Topology::addPeer(const SharedPtr<Peer> &peer)
#ifdef ZT_TRACE
if ((!peer)||(peer->address() == RR->identity.address())) {
if (!peer)
- fprintf(stderr,"FATAL BUG: addPeer() caught attempt to add NULL peer"ZT_EOL_S);
- else fprintf(stderr,"FATAL BUG: addPeer() caught attempt to add peer for self"ZT_EOL_S);
+ fprintf(stderr,"FATAL BUG: addPeer() caught attempt to add NULL peer" ZT_EOL_S);
+ else fprintf(stderr,"FATAL BUG: addPeer() caught attempt to add peer for self" ZT_EOL_S);
abort();
}
#endif
diff --git a/node/Topology.hpp b/node/Topology.hpp
index a9a5f2f9..07daa276 100644
--- a/node/Topology.hpp
+++ b/node/Topology.hpp
@@ -239,7 +239,7 @@ public:
while (i.next(a,p)) {
#ifdef ZT_TRACE
if (!(*p)) {
- fprintf(stderr,"FATAL BUG: eachPeer() caught NULL peer for %s -- peer pointers in Topology should NEVER be NULL"ZT_EOL_S,a->toString().c_str());
+ fprintf(stderr,"FATAL BUG: eachPeer() caught NULL peer for %s -- peer pointers in Topology should NEVER be NULL" ZT_EOL_S,a->toString().c_str());
abort();
}
#endif