Переглянути джерело

Oops; the "not in the routerlist" value for routerinfo_t.routerlist_index is -1, not 0.

svn:r10060
Nick Mathewson 17 роки тому
батько
коміт
5b26a076c6
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/or/routerlist.c

+ 1 - 1
src/or/routerlist.c

@@ -4776,7 +4776,7 @@ routerlist_check_bug_417(void)
 #endif
   }
 
-  tor_assert(ri_generated->routerlist_index == 0);
+  tor_assert(ri_generated->routerlist_index == -1);
 }
 
 /** Allocate and return a new string representing the contact info