Explorar o código

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

svn:r10060
Nick Mathewson %!s(int64=17) %!d(string=hai) anos
pai
achega
5b26a076c6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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