[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Remove a duplicate non-anonymous warning log message



commit 07d32d2e68daa6ef1ba03d8121998f619c409ff5
Author: teor <teor2345@xxxxxxxxx>
Date:   Thu Aug 18 10:55:20 2016 +1000

    Remove a duplicate non-anonymous warning log message
    
    We log this message every time we validate tor's options.
    There's no need to log a duplicate in main() as well.
    
    (It is impossible to run main() without validating our options.)
---
 src/or/main.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/or/main.c b/src/or/main.c
index 48c9f57..7ac1c1c 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -2847,11 +2847,6 @@ tor_init(int argc, char *argv[])
   /* The options are now initialised */
   const or_options_t *options = get_options();
 
-  if (rend_non_anonymous_mode_enabled(options)) {
-    log_warn(LD_GENERAL, "This copy of Tor was compiled or configured to run "
-             "in a non-anonymous mode. It will provide NO ANONYMITY.");
-  }
-
 #ifndef _WIN32
   if (geteuid()==0)
     log_warn(LD_GENERAL,"You are running Tor as root. You don't need to, "



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits