]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Jan 06 13:03:57.309 [info] networkstatus_set_current_consensus(): Loaded an obsolete...
authorRoger Dingledine <arma@torproject.org>
Tue, 6 Jan 2009 18:06:49 +0000 (18:06 +0000)
committerRoger Dingledine <arma@torproject.org>
Tue, 6 Jan 2009 18:06:49 +0000 (18:06 +0000)
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

index 0290832c3ab49ed5e565298603adb0825a3c5695..306ecb4278096c6819064037e8a484aa30254b20 100644 (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);
     }