summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-02-21 05:57:08 +0000
committerNick Mathewson <nickm@torproject.org>2007-02-21 05:57:08 +0000
commit809a4daa5289ac0751c31690d111f2efef7d26c1 (patch)
tree99fae6f8e206dd00b7c58db3a18b5586871002ba
parent2a4fc8533cf059b48b6b509e91331d05ab388240 (diff)
downloadtor-809a4daa5289ac0751c31690d111f2efef7d26c1.tar.gz
tor-809a4daa5289ac0751c31690d111f2efef7d26c1.zip
r11859@catbus: nickm | 2007-02-21 00:53:27 -0500
Fix use of predict. this should get refactored, but now now. svn:r9611
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 76e34aa515..d8b76546b8 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -4154,7 +4154,7 @@ static int need_to_update_have_min_dir_info = 1;
int
router_have_minimum_dir_info(void)
{
- if (PREDICT_FALSE(need_to_update_have_min_dir_info)) {
+ if (PREDICT(need_to_update_have_min_dir_info, 0)) {
update_router_have_minimum_dir_info();
need_to_update_have_min_dir_info = 0;
}