From: Nick Mathewson Date: Fri, 11 Aug 2006 07:51:34 +0000 (+0000) Subject: r7341@Kushana: nickm | 2006-08-11 00:51:05 -0700 X-Git-Tag: tor-0.1.2.1-alpha~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b68ffcc193c81abc8aa1b670bb10cbc45a70134e;p=thirdparty%2Ftor.git r7341@Kushana: nickm | 2006-08-11 00:51:05 -0700 Amazing how much difference adding a ! to all your asserts can make. svn:r7029 --- diff --git a/src/common/util.h b/src/common/util.h index 7db4f28647..b5e104beba 100644 --- a/src/common/util.h +++ b/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