summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-09-14 10:53:49 -0400
committerNick Mathewson <nickm@torproject.org>2016-09-14 10:53:49 -0400
commitb88f918227bf888cf57095aa4c7072491738ac79 (patch)
tree7141c3ed8376d1875c2cae42276b19b8e851b274 /src/common
parent8b7922b2829033d910a98a9d1a4e4ebf9d02d7b4 (diff)
downloadtor-b88f918227bf888cf57095aa4c7072491738ac79.tar.gz
tor-b88f918227bf888cf57095aa4c7072491738ac79.zip
Remove an extraneous parenthesis in IF_BUG_OHNCE__
Fixes bug 20141; bugfix on 0.2.9.1-alpha. Patch from Gisle Vanem.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util_bug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util_bug.h b/src/common/util_bug.h
index 8b69a47607..e02778110b 100644
--- a/src/common/util_bug.h
+++ b/src/common/util_bug.h
@@ -117,7 +117,7 @@
#else
#define IF_BUG_ONCE__(cond,var) \
static int var = 0; \
- if (PREDICT_UNLIKELY(cond)) ? \
+ if (PREDICT_UNLIKELY(cond) ? \
(var ? 1 : \
(var=1, \
tor_bug_occurred_(SHORT_FILE__, __LINE__, __func__, \