[or-cvs] r11092: Do not warn on missing cached consensus. (in tor/trunk: . src/or)
nickm at seul.org
nickm at seul.org
Mon Aug 13 20:45:27 UTC 2007
Author: nickm
Date: 2007-08-13 16:45:27 -0400 (Mon, 13 Aug 2007)
New Revision: 11092
Modified:
tor/trunk/
tor/trunk/src/or/routerlist.c
Log:
r13991 at Kushana: nickm | 2007-08-13 16:37:43 -0400
Do not warn on missing cached consensus.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r13991] on c95137ef-5f19-0410-b913-86e773d04f59
Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c 2007-08-13 20:31:08 UTC (rev 11091)
+++ tor/trunk/src/or/routerlist.c 2007-08-13 20:45:27 UTC (rev 11092)
@@ -184,7 +184,7 @@
tor_snprintf(filename,sizeof(filename),"%s"PATH_SEPARATOR"cached-consensus",
get_options()->DataDirectory);
- s = read_file_to_str(filename, 0, NULL);
+ s = read_file_to_str(filename, RTFS_IGNORE_MISSING, NULL);
if (!s)
return 0;
More information about the tor-commits
mailing list