From 31bc65f8d361e7310be395481d133fb4c499c381 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 28 Sep 2004 22:43:11 +0000 Subject: [PATCH] cached-directory has a directory, not a router list svn:r2392 --- trunk/src/or/routerlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/or/routerlist.c b/trunk/src/or/routerlist.c index 1eb7cccdf3..900dd4455a 100644 --- a/trunk/src/or/routerlist.c +++ b/trunk/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);