Commit 0c653e5c authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

cached-directory has a directory, not a router list


svn:r2392
parent 4b3001a0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ int router_reload_router_list(void)
    s = read_file_to_str(filename,0);
    if (s) {
      log_fn(LOG_INFO, "Loading cached directory from %s", filename);
      if (router_load_routerlist_from_string(s, 0) < 0) {
      if (router_load_routerlist_from_directory(s, NULL) < 0) {
        log_fn(LOG_WARN, "Cached directory '%s' was unparseable; ignoring.", filename);
      }
      tor_free(s);