summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-09-28 22:43:11 +0000
committerNick Mathewson <nickm@torproject.org>2004-09-28 22:43:11 +0000
commit0c653e5cc7235c4d10e80644e62d9dc312fcfda5 (patch)
tree2b18e26a6d934c86e205348c9d438d7970cdda60
parent4b3001a08c84edfb1e5c7f739fc3dafca032a9f7 (diff)
downloadtor-0c653e5cc7235c4d10e80644e62d9dc312fcfda5.tar.gz
tor-0c653e5cc7235c4d10e80644e62d9dc312fcfda5.zip
cached-directory has a directory, not a router list
svn:r2392
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 1eb7cccdf3..900dd4455a 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -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);