[or-cvs] r9538: When backporting a bugfix, also make sure it runs without cr (in tor/branches/tor-0_1_1-patches: . src/or)
nickm at seul.org
nickm at seul.org
Thu Feb 8 23:30:05 UTC 2007
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 at 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;
More information about the tor-commits
mailing list