[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r10066: Oops. Routerlist_check_bug_417 should work even if we are no (in tor/trunk: . src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r10066: Oops. Routerlist_check_bug_417 should work even if we are no (in tor/trunk: . src/or)
- From: nickm@xxxxxxxx
- Date: Mon, 30 Apr 2007 13:46:11 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 30 Apr 2007 13:46:21 -0400
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: nickm
Date: 2007-04-30 13:46:11 -0400 (Mon, 30 Apr 2007)
New Revision: 10066
Modified:
tor/trunk/
tor/trunk/src/or/routerlist.c
Log:
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.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r12579] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c 2007-04-30 17:16:40 UTC (rev 10065)
+++ tor/trunk/src/or/routerlist.c 2007-04-30 17:46:11 UTC (rev 10066)
@@ -4757,6 +4757,8 @@
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);