[tor-commits] [tor/master] Try harder to document default_options correctly.

nickm at torproject.org nickm at torproject.org
Tue May 28 15:03:19 UTC 2013


commit 3795f6a78b84ffcbe9bf464d5e569ae3c718d03e
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Sat May 25 07:33:37 2013 +0200

    Try harder to document default_options correctly.
---
 src/or/config.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/or/config.c b/src/or/config.c
index d85ba4c..bb59675 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2315,11 +2315,11 @@ compute_publishserverdescriptor(or_options_t *options)
  * */
 #define RECOMMENDED_MIN_CIRCUIT_BUILD_TIMEOUT (10)
 
-/** Return 0 if every setting in <b>options</b> is reasonable, does not
- * differ from <b>default_options</b> unless in testing Tor networks, and
- * is a permissible transition from <b>old_options</b>. Else return -1.
- * Should have no side effects, except for normalizing the contents of
- * <b>options</b>.
+/** Return 0 if every setting in <b>options</b> is reasonable, is a
+ * permissible transition from <b>old_options</b>, and none of the
+ * testing-only settings differ from <b>default_options</b> unless in
+ * testing mode.  Else return -1.  Should have no side effects, except for
+ * normalizing the contents of <b>options</b>.
  *
  * On error, tor_strdup an error explanation into *<b>msg</b>.
  *





More information about the tor-commits mailing list