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/control.c | |
parent | 6d49465b691046efb0ffa2c7e89898cdd35ee192 (diff) | |
download | tor-f8df8d791e4a58ab65d8903a0522b4cfa55cc163.tar.gz tor-f8df8d791e4a58ab65d8903a0522b4cfa55cc163.zip |
start to refactor dirserver_mode()
svn:r12621
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c index 76b53e8ba7..5d0eda1a24 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -1382,7 +1382,7 @@ getinfo_helper_dir(control_connection_t *control_conn, tor_free(url); smartlist_free(descs); } else if (!strcmpstart(question, "dir/status/")) { - if (dirserver_mode(get_options())) { + if (directory_permits_controller_requests(get_options())) { size_t len=0; char *cp; smartlist_t *status_list = smartlist_create(); |