Browse Source

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.


svn:r17969

Roger Dingledine 15 years ago
parent
commit
0955a1b9e1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/networkstatus.c

+ 1 - 1
src/or/networkstatus.c

@@ -185,7 +185,7 @@ router_reload_consensus_networkstatus(void)
   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);
     }