aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2013-03-28 09:42:49 +0100
committerNick Mathewson <nickm@torproject.org>2013-03-28 09:32:19 -0400
commit1bce70a9e3b33d02b2bae4b94a1774db38d19d3a (patch)
tree8e6de78857922f0e4d00bcd33069b405bb318f9c /src/or/config.c
parentcd5048d61e64371ea1f7756cefacd9e731f11002 (diff)
downloadtor-1bce70a9e3b33d02b2bae4b94a1774db38d19d3a.tar.gz
tor-1bce70a9e3b33d02b2bae4b94a1774db38d19d3a.zip
Make PathsNeededToBuildCircuits option work.
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 a238a1ae70..ffa984bcda 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2485,7 +2485,7 @@ options_validate(or_options_t *old_options, or_options_t *options,
log_warn(LD_CONFIG, "PathsNeededToBuildCircuits is too low. Increasing "
"to 0.25");
options->PathsNeededToBuildCircuits = 0.25;
- } else if (options->PathsNeededToBuildCircuits < 0.95) {
+ } else if (options->PathsNeededToBuildCircuits > 0.95) {
log_warn(LD_CONFIG, "PathsNeededToBuildCircuits is too high. Decreasing "
"to 0.95");
options->PathsNeededToBuildCircuits = 0.95;