[or-cvs] r10544: don't complain when approved-routers isn't there and we don' (tor/trunk/src/or)

arma at seul.org arma at seul.org
Sat Jun 9 05:28:11 UTC 2007


Author: arma
Date: 2007-06-09 01:28:11 -0400 (Sat, 09 Jun 2007)
New Revision: 10544

Modified:
   tor/trunk/src/or/dirserv.c
Log:
don't complain when approved-routers isn't there and we
don't need it.


Modified: tor/trunk/src/or/dirserv.c
===================================================================
--- tor/trunk/src/or/dirserv.c	2007-06-09 05:17:33 UTC (rev 10543)
+++ tor/trunk/src/or/dirserv.c	2007-06-09 05:28:11 UTC (rev 10544)
@@ -183,7 +183,7 @@
   log_info(LD_GENERAL,
            "Reloading approved fingerprints from \"%s\"...", fname);
 
-  cf = read_file_to_str(fname, 0, NULL);
+  cf = read_file_to_str(fname, RFTS_IGNORE_MISSING, NULL);
   if (!cf) {
     if (options->NamingAuthoritativeDir) {
       log_warn(LD_FS, "Cannot open fingerprint file '%s'. Failing.", fname);



More information about the tor-commits mailing list