Преглед на файлове

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