summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c
index e2b2b5ce5d..8bf4842ffe 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -3381,7 +3381,7 @@ options_validate(or_options_t *old_options, or_options_t *options,
"raising to %d seconds.", MIN_CIRCUIT_STREAM_TIMEOUT);
options->CircuitStreamTimeout = MIN_CIRCUIT_STREAM_TIMEOUT;
}
-
+
if (options->HeartbeatPeriod &&
options->HeartbeatPeriod < MIN_HEARTBEAT_PERIOD) {
log_warn(LD_CONFIG, "HeartbeatPeriod option is too short; "
@@ -3389,7 +3389,6 @@ options_validate(or_options_t *old_options, or_options_t *options,
options->HeartbeatPeriod = MIN_HEARTBEAT_PERIOD;
}
-
if (options->KeepalivePeriod < 1)
REJECT("KeepalivePeriod option must be positive.");