From 0955a1b9e1d91f345d26185c9dda2b863381b7e6 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 6 Jan 2009 18:06:49 +0000 Subject: [PATCH] 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 --- src/or/networkstatus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 0290832c3a..306ecb4278 100644 --- a/src/or/networkstatus.c +++ b/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); }