]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Oops; the "not in the routerlist" value for routerinfo_t.routerlist_index is -1,...
authorNick Mathewson <nickm@torproject.org>
Mon, 30 Apr 2007 14:32:22 +0000 (14:32 +0000)
committerNick Mathewson <nickm@torproject.org>
Mon, 30 Apr 2007 14:32:22 +0000 (14:32 +0000)
svn:r10060

src/or/routerlist.c

index c51fbbad56948e1b5b0327d2814594b3171572b6..93e0019de8fe58624e9d1dea7e0c685d982d9564 100644 (file)
@@ -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