diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-08-11 07:51:34 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-08-11 07:51:34 +0000 |
commit | b68ffcc193c81abc8aa1b670bb10cbc45a70134e (patch) | |
tree | 1687c734dfa072de0817c5499cd9205b45610449 /src/common | |
parent | 33fc8292739296811fc53ae465e3245a2b598c3a (diff) | |
download | tor-b68ffcc193c81abc8aa1b670bb10cbc45a70134e.tar.gz tor-b68ffcc193c81abc8aa1b670bb10cbc45a70134e.zip |
r7341@Kushana: nickm | 2006-08-11 00:51:05 -0700
Amazing how much difference adding a ! to all your asserts can make.
svn:r7029
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |