[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r17969: {tor} Jan 06 13:03:57.309 [info] networkstatus_set_current_consens (tor/trunk/src/or)



Author: arma
Date: 2009-01-06 13:06:49 -0500 (Tue, 06 Jan 2009)
New Revision: 17969

Modified:
   tor/trunk/src/or/networkstatus.c
Log:
Jan 06 13:03:57.309 [info] networkstatus_set_current_consensus(): Loaded an obsolete consensus. Discarding.
Jan 06 13:03:57.309 [warn] Couldn't load consensus networkstatus from "bridge/cached-consensus"

doesn't need a real warn.


Modified: tor/trunk/src/or/networkstatus.c
===================================================================
--- tor/trunk/src/or/networkstatus.c	2009-01-06 18:03:01 UTC (rev 17968)
+++ tor/trunk/src/or/networkstatus.c	2009-01-06 18:06:49 UTC (rev 17969)
@@ -185,7 +185,7 @@
   filename = get_datadir_fname("cached-consensus");
   s = read_file_to_str(filename, RFTS_IGNORE_MISSING, NULL);
   if (s) {
-    if (networkstatus_set_current_consensus(s, flags)) {
+    if (networkstatus_set_current_consensus(s, flags) < -1) {
       log_warn(LD_FS, "Couldn't load consensus networkstatus from \"%s\"",
                filename);
     }