소스 검색

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

Adam Ierymenko 10 년 전
부모
커밋
7382c328da
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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