aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-01-13 20:22:38 +0000
committerRoger Dingledine <arma@torproject.org>2005-01-13 20:22:38 +0000
commit0aff4ff4cbce21c5d85a0a0a75aea86b4c9842df (patch)
tree6b52a7dd140da5503c17656c36821ca401a1ff40 /src/or/routerlist.c
parent22f7934718f505cc04bbb4b1ee3a09e38e10d272 (diff)
downloadtor-0aff4ff4cbce21c5d85a0a0a75aea86b4c9842df.tar.gz
tor-0aff4ff4cbce21c5d85a0a0a75aea86b4c9842df.zip
get rid of 0.0.8 backwards compatibility
svn:r3353
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index b78828bc4d..c4411fdcdc 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -64,9 +64,8 @@ int router_reload_router_list(void)
log_fn(LOG_WARN, "Cached directory at '%s' was unparseable; ignoring.", filename);
}
if (routerlist &&
- ((routerlist->published_on > time(NULL) - OLD_MIN_ONION_KEY_LIFETIME/2)
+ ((routerlist->published_on > time(NULL) - MIN_ONION_KEY_LIFETIME/2)
|| is_recent)) {
- /* XXX use new onion key lifetime when 0.0.8 servers are obsolete */
directory_has_arrived(st.st_mtime); /* do things we've been waiting to do */
}
tor_free(s);