mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
cached-directory has a directory, not a router list
svn:r2392
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user