summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-04-30 14:32:22 +0000
committerNick Mathewson <nickm@torproject.org>2007-04-30 14:32:22 +0000
commit5b26a076c6f4f9ed35444f328b5d274b93493f24 (patch)
tree1b79a36b120be196582f84952cc6de8215009d39 /src
parent65daa191fe8ce00f27eebf134b2c2ccc72a94e66 (diff)
downloadtor-5b26a076c6f4f9ed35444f328b5d274b93493f24.tar.gz
tor-5b26a076c6f4f9ed35444f328b5d274b93493f24.zip
Oops; the "not in the routerlist" value for routerinfo_t.routerlist_index is -1, not 0.
svn:r10060
Diffstat (limited to 'src')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index c51fbbad56..93e0019de8 100644
--- a/src/or/routerlist.c
+++ b/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