Procházet zdrojové kódy

Null pointer bug appears fixed... testing again at large scale.

Adam Ierymenko před 10 roky
rodič
revize
7382c328da
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      node/Topology.hpp

+ 1 - 1
node/Topology.hpp

@@ -237,7 +237,7 @@ public:
 		while (i.next(a,p)) {
 #ifdef ZT_TRACE
 			if (!(*p)) {
-				fprintf(stderr,"eachPeer() caught NULL peer for %s",a->toString().c_str());
+				fprintf(stderr,"FATAL BUG: eachPeer() caught NULL peer for %s -- peer pointers in Topology should NEVER be NULL",a->toString().c_str());
 				abort();
 			}
 #endif