Kaynağa Gözat

r11859@catbus: nickm | 2007-02-21 00:53:27 -0500
Fix use of predict. this should get refactored, but now now.


svn:r9611

Nick Mathewson 18 yıl önce
ebeveyn
işleme
809a4daa52
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/or/routerlist.c

+ 1 - 1
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;
   }