From 75f8ee1b9c25403b7fbd42b901d98ddbce7f89f5 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Sat, 14 Nov 2015 18:19:33 -0800 Subject: get the compiler to stop complaining about two string literals (one a macro) next to each other without an intervening space
 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- node/Topology.cpp | 4 ++-- node/Topology.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'node') 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 Topology::addPeer(const SharedPtr &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 -- cgit v1.2.3