diff options
author | Roger Dingledine <arma@torproject.org> | 2005-10-20 17:22:00 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-10-20 17:22:00 +0000 |
commit | d6dcd973c3c6a1d257f5e8a99924d920dc591489 (patch) | |
tree | d18a37e9af042dd711e1d6daea5b6b19913107bf | |
parent | 52eaccce44abcf9d6865cbd757169ab01d1ddc59 (diff) | |
download | tor-d6dcd973c3c6a1d257f5e8a99924d920dc591489.tar.gz tor-d6dcd973c3c6a1d257f5e8a99924d920dc591489.zip |
Oct 19 13:27:24.391 [info] router_reload_networkstatus(): Skipping cached-status file with unexpected name "."
Oct 19 13:27:24.391 [info] router_reload_networkstatus(): Skipping cached-status file with unexpected name ".."
svn:r5291
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index c4b2949cd6..5e013d4a0b 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -101,6 +101,8 @@ router_reload_networkstatus(void) entries = tor_listdir(filename); SMARTLIST_FOREACH(entries, const char *, fn, { char buf[DIGEST_LEN]; + if (fn[0] == '.') /* skip . and .. */ + continue; if (strlen(fn) != HEX_DIGEST_LEN || base16_decode(buf, sizeof(buf), fn, strlen(fn))) { log_fn(LOG_INFO, |