diff options
author | Roger Dingledine <arma@torproject.org> | 2007-12-01 04:58:53 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-12-01 04:58:53 +0000 |
commit | f8df8d791e4a58ab65d8903a0522b4cfa55cc163 (patch) | |
tree | 1fbc2c52fb8d95a0c638da65792609c50d253e5a /src/or/routerparse.c | |
parent | 6d49465b691046efb0ffa2c7e89898cdd35ee192 (diff) | |
download | tor-f8df8d791e4a58ab65d8903a0522b4cfa55cc163.tar.gz tor-f8df8d791e4a58ab65d8903a0522b4cfa55cc163.zip |
start to refactor dirserver_mode()
svn:r12621
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 84d0c24e4d..28e44849fb 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -686,7 +686,8 @@ router_parse_directory(const char *str) /* Now that we know the signature is okay, and we have a * publication time, cache the directory. */ - if (dirserver_mode(get_options()) && !authdir_mode_v1(get_options())) + if (directory_caches_dir_info(get_options()) && + !authdir_mode_v1(get_options())) dirserv_set_cached_directory(str, published_on, 0); r = 0; |