diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-09-28 22:43:11 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-09-28 22:43:11 +0000 |
commit | 0c653e5cc7235c4d10e80644e62d9dc312fcfda5 (patch) | |
tree | 2b18e26a6d934c86e205348c9d438d7970cdda60 /src/or/routerlist.c | |
parent | 4b3001a08c84edfb1e5c7f739fc3dafca032a9f7 (diff) | |
download | tor-0c653e5cc7235c4d10e80644e62d9dc312fcfda5.tar tor-0c653e5cc7235c4d10e80644e62d9dc312fcfda5.tar.gz |
cached-directory has a directory, not a router list
svn:r2392
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 1eb7cccdf..900dd4455 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); |