[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r9538: When backporting a bugfix, also make sure it runs without cr (in tor/branches/tor-0_1_1-patches: . src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r9538: When backporting a bugfix, also make sure it runs without cr (in tor/branches/tor-0_1_1-patches: . src/or)
- From: nickm@xxxxxxxx
- Date: Thu, 8 Feb 2007 18:30:05 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Thu, 08 Feb 2007 18:30:15 -0500
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Author: nickm
Date: 2007-02-08 18:30:04 -0500 (Thu, 08 Feb 2007)
New Revision: 9538
Modified:
tor/branches/tor-0_1_1-patches/
tor/branches/tor-0_1_1-patches/src/or/dirserv.c
Log:
r11737@catbus: nickm | 2007-02-08 18:29:49 -0500
When backporting a bugfix, also make sure it runs without crashing. :(
Property changes on: tor/branches/tor-0_1_1-patches
___________________________________________________________________
svk:merge ticket from /tor/011 [r11737] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/branches/tor-0_1_1-patches/src/or/dirserv.c
===================================================================
--- tor/branches/tor-0_1_1-patches/src/or/dirserv.c 2007-02-08 23:24:20 UTC (rev 9537)
+++ tor/branches/tor-0_1_1-patches/src/or/dirserv.c 2007-02-08 23:30:04 UTC (rev 9538)
@@ -1004,6 +1004,9 @@
{
digestmap_iter_t *iter;
+ if (!cached_v2_networkstatus)
+ return;
+
for (iter = digestmap_iter_init(cached_v2_networkstatus);
!digestmap_iter_done(iter); ) {
const char *ident;