From 13a7e8bea3b9d37b1bfd5e3a3ea14dd650be632e Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Sat, 30 Oct 2010 00:03:31 +0200 Subject: Comment out the (unused) RunTesting option The code that makes use of the RunTesting option is #if 0, so setting this option has no effect. Mark the option as obsolete for now, so that Tor doesn't list it as an available option erroneously. --- src/or/config.c | 3 ++- src/or/or.h | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/or/config.c b/src/or/config.c index ee0c466e0..655af3797 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -337,7 +337,8 @@ static config_var_t _option_vars[] = { V(RephistTrackTime, INTERVAL, "24 hours"), OBSOLETE("RouterFile"), V(RunAsDaemon, BOOL, "0"), - V(RunTesting, BOOL, "0"), +// V(RunTesting, BOOL, "0"), + OBSOLETE("RunTesting"), // currently unused V(SafeLogging, STRING, "1"), V(SafeSocks, BOOL, "0"), V(ServerDNSAllowBrokenConfig, BOOL, "1"), diff --git a/src/or/or.h b/src/or/or.h index 2e65459d4..e4d57dd7b 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2548,8 +2548,8 @@ typedef struct { uint64_t PerConnBWRate; /**< Long-term bw on a single TLS conn, if set. */ uint64_t PerConnBWBurst; /**< Allowed burst on a single TLS conn, if set. */ int NumCpus; /**< How many CPUs should we try to use? */ - int RunTesting; /**< If true, create testing circuits to measure how well the - * other ORs are running. */ +//int RunTesting; /**< If true, create testing circuits to measure how well the +// * other ORs are running. */ config_line_t *RendConfigLines; /**< List of configuration lines * for rendezvous services. */ config_line_t *HidServAuth; /**< List of configuration lines for client-side -- cgit v1.2.3