summaryrefslogtreecommitdiff
path: root/src/or/circuitstats.c
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2016-09-13 17:20:46 +1000
committerNick Mathewson <nickm@torproject.org>2016-09-13 10:13:57 -0400
commit365ca3ca0f5d9d391a2156436d1a7c620906e23a (patch)
treec1eb1da017298f74ce242a5fd63833bc91128d03 /src/or/circuitstats.c
parentf686fa2ee600f6670bab7531d404eaf5f8ea91ff (diff)
downloadtor-365ca3ca0f5d9d391a2156436d1a7c620906e23a.tar.gz
tor-365ca3ca0f5d9d391a2156436d1a7c620906e23a.zip
Refactor Single Onion code to improve consistency
* Check consistency between the two single onion torrc options * Use the more relevant option each time we check for single onion mode * Clarify log messages * Clarify comments * Otherwise, no behaviour change
Diffstat (limited to 'src/or/circuitstats.c')
-rw-r--r--src/or/circuitstats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitstats.c b/src/or/circuitstats.c
index 296f852c79..3d64113521 100644
--- a/src/or/circuitstats.c
+++ b/src/or/circuitstats.c
@@ -104,7 +104,7 @@ circuit_build_times_disabled(void)
int config_disabled = !options->LearnCircuitBuildTimeout;
int dirauth_disabled = options->AuthoritativeDir;
int state_disabled = did_last_state_file_write_fail() ? 1 : 0;
- /* LearnCircuitBuildTimeout and Tor2webMode/OnionServiceSingleHopMode are
+ /* LearnCircuitBuildTimeout and Tor2web/Single Onion Services are
* incompatible in two ways:
*
* - LearnCircuitBuildTimeout results in a low CBT, which