diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-08 19:16:16 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-08 19:16:16 +0000 |
commit | 0f94aa2ea11c850de386976703c4b5aaaef81cfc (patch) | |
tree | 3499d4a042d4aca3822df90a6656b6bce31f365d | |
parent | cc16fb76369d801128a8272c8511fc40385b2f33 (diff) | |
download | tor-0f94aa2ea11c850de386976703c4b5aaaef81cfc.tar.gz tor-0f94aa2ea11c850de386976703c4b5aaaef81cfc.zip |
Write status to disk in the right place
svn:r4940
-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 62a61d4a90..8dac7fdac1 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1265,7 +1265,7 @@ router_set_networkstatus(const char *s, time_t arrived_at, int is_cached) char fp[HEX_DIGEST_LEN+1]; size_t len = strlen(datadir)+64; char *fn = tor_malloc(len+1); - tor_snprintf(fn, len, "%s/cached-directory/%s",datadir,fp); + tor_snprintf(fn, len, "%s/cached-status/%s",datadir,fp); if (write_str_to_file(fn, s, 0)<0) { log_fn(LOG_NOTICE, "Couldn't write cached network status to \"%s\"", fn); } |