diff options
author | Roger Dingledine <arma@torproject.org> | 2007-05-04 07:24:01 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-05-04 07:24:01 +0000 |
commit | d112e7b1ad56ca8f1280572f8bb854a1ca74c2fd (patch) | |
tree | a18858b9fe5eefdad219e18518856571a86f339e /src/or/main.c | |
parent | d9e7e456887e83c66a6e5886ed7cbb3c680c06e6 (diff) | |
download | tor-d112e7b1ad56ca8f1280572f8bb854a1ca74c2fd.tar.gz tor-d112e7b1ad56ca8f1280572f8bb854a1ca74c2fd.zip |
fix some code comments, a wrapper, and add a todo item
svn:r10111
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 08abe77337..d87dd7fecf 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -910,7 +910,7 @@ run_scheduled_events(time_t now) * (if we've passed our internal checks). */ if (time_to_fetch_directory < now) { /* Only caches actually need to fetch directories now. */ - if (options->DirPort && !options->V1AuthoritativeDir) { + if (options->DirPort && !authdir_mode_v1(options)) { /* XXX actually, we should only do this if we want to advertise * our dirport. not simply if we configured one. -RD */ if (any_trusted_dir_is_v1_authority()) |