aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-10-01 07:53:17 +0000
committerRoger Dingledine <arma@torproject.org>2006-10-01 07:53:17 +0000
commit7ed921708f94b23653a65173a5b61ddeff6e9125 (patch)
treeed34b833b5feafd178fcef1a9a5fe5da91c8a4f5
parentc705d46df04ac6572aa3c4c27e26e216711a85b9 (diff)
downloadtor-7ed921708f94b23653a65173a5b61ddeff6e9125.tar
tor-7ed921708f94b23653a65173a5b61ddeff6e9125.tar.gz
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
-rw-r--r--src/or/routerlist.c1
1 files changed, 0 insertions, 1 deletions
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);
}