[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r9611: Fix use of predict. this should get refactored, but now now. (in tor/trunk: . src/or)



Author: nickm
Date: 2007-02-21 00:57:08 -0500 (Wed, 21 Feb 2007)
New Revision: 9611

Modified:
   tor/trunk/
   tor/trunk/src/or/routerlist.c
Log:
 r11859@catbus:  nickm | 2007-02-21 00:53:27 -0500
 Fix use of predict. this should get refactored, but now now.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r11859] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c	2007-02-21 05:56:53 UTC (rev 9610)
+++ tor/trunk/src/or/routerlist.c	2007-02-21 05:57:08 UTC (rev 9611)
@@ -4154,7 +4154,7 @@
 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;
   }