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
This commit is contained in:
Roger Dingledine 2009-01-06 18:06:49 +00:00
parent d1351750ed
commit 0955a1b9e1

View File

@ -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);
}