aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-04-30 17:46:11 +0000
committerNick Mathewson <nickm@torproject.org>2007-04-30 17:46:11 +0000
commit6875559c4969462d4f0969e6841c3badf9352de0 (patch)
treec19287d0e7a753ff4978b954dcc7c9e278484091
parentc5c282d1e4a1247f856e64b57ee71b2fb19fd824 (diff)
downloadtor-6875559c4969462d4f0969e6841c3badf9352de0.tar
tor-6875559c4969462d4f0969e6841c3badf9352de0.tar.gz
r12579@catbus: nickm | 2007-04-30 13:26:53 -0400
Oops. Routerlist_check_bug_417 should work even if we are not on a server. svn:r10066
-rw-r--r--src/or/routerlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 93e0019de..070030d8b 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -4757,6 +4757,8 @@ routerlist_check_bug_417(void)
int idx = -1;
ri_generated = router_get_my_routerinfo();
+ if (!ri_generated)
+ return;
r = digestmap_get(rl->identity_map,
ri_generated->cache_info.identity_digest);