Explorar o código

r7341@Kushana: nickm | 2006-08-11 00:51:05 -0700
Amazing how much difference adding a ! to all your asserts can make.


svn:r7029

Nick Mathewson %!s(int64=19) %!d(string=hai) anos
pai
achega
b68ffcc193
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/common/util.h

+ 1 - 1
src/common/util.h

@@ -39,7 +39,7 @@
 #error "Sorry; we don't support building with NDEBUG."
 #else
 #ifdef __GNUC__
-#define PREDICT_FALSE(x) PREDICT((x) != ((typeof(x)) 0), 0)
+#define PREDICT_FALSE(x) PREDICT((x) == ((typeof(x)) 0), 0)
 #else
 #define PREDICT_FALSE(x) !(x)
 #endif