summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-11 16:06:42 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-11 16:06:42 +0000
commit66701226192f79ecfd60a4d5d7f680572ce26917 (patch)
treeee9fbf23f7f4fb96109ffa8a933fbd9014c66f87 /src/or/config.c
parent0a1dd92d3e498ce579944c95d3c82e97863b9ba6 (diff)
downloadtor-66701226192f79ecfd60a4d5d7f680572ce26917.tar.gz
tor-66701226192f79ecfd60a4d5d7f680572ce26917.zip
r14885@Kushana: nickm | 2007-10-11 10:36:16 -0400
Document minimal values for voting times. Use a macro instead of a magic number. Remove an "enforce this" xxxx020 that was already enforced. svn:r11868
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 380e97bac2..4b548e3392 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -3025,7 +3025,7 @@ options_validate(or_options_t *old_options, or_options_t *options,
if (options->V3AuthNIntervalsValid < 2)
REJECT("V3AuthNIntervalsValid must be at least 2.");
- if (options->V3AuthVotingInterval < 300) {
+ if (options->V3AuthVotingInterval < MIN_VOTE_INTERVAL) {
REJECT("V3AuthVotingInterval is insanely low.");
} else if (options->V3AuthVotingInterval > 24*60*60) {
REJECT("V3AuthVotingInterval is insanely high.");