diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-03-06 20:25:44 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-03-06 20:25:44 +0000 |
commit | 5d1bee87ffe3dcdaa9e7960b0fed836aa1d01b9b (patch) | |
tree | 5f9aea61df183fd3a5b88223789babc1fb859a67 /src/or/routerlist.c | |
parent | c9e2766e7598a669d3acf3ae0e45e8be8b5945b0 (diff) | |
download | tor-5d1bee87ffe3dcdaa9e7960b0fed836aa1d01b9b.tar.gz tor-5d1bee87ffe3dcdaa9e7960b0fed836aa1d01b9b.zip |
r12468@Kushana: nickm | 2007-03-06 15:24:00 -0500
More unit tests: gcov is fun.
svn:r9748
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index b975594474..3af73a7a4e 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -4178,7 +4178,7 @@ static int need_to_update_have_min_dir_info = 1; int router_have_minimum_dir_info(void) { - if (PREDICT(need_to_update_have_min_dir_info, 0)) { + if (PREDICT_UNLIKELY(need_to_update_have_min_dir_info)) { update_router_have_minimum_dir_info(); need_to_update_have_min_dir_info = 0; } |