From 7ed921708f94b23653a65173a5b61ddeff6e9125 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sun, 1 Oct 2006 07:53:17 +0000 Subject: Track down a seg fault that's been bothering me a while: if you enable your dirport as a client, you'll crash. svn:r8561 --- src/or/routerlist.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 7099633a5..92cab57a0 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1385,7 +1385,6 @@ routerlist_insert_old(routerlist_t *rl, routerinfo_t *ri) signed_descriptor_t *sd = signed_descriptor_from_routerinfo(ri); digestmap_set(rl->desc_digest_map, sd->signed_descriptor_digest, sd); smartlist_add(rl->old_routers, sd); - ri->routerlist_index = -1; } else { routerinfo_free(ri); } -- cgit v1.2.3