diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-11-23 17:14:54 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-23 17:14:54 -0500 |
commit | f067067ee66e104b2d1e97fb881bf6d2277ea589 (patch) | |
tree | 3f1b059e7f3d43d494289ab956029f840c2ffad1 /src/or/main.c | |
parent | 3890c81e7c4eaa3350fe569dbc2fbf97e824e4c0 (diff) | |
parent | 2b4d4ffa8f2d893cf5df1480aa2db86e75e8292a (diff) | |
download | tor-f067067ee66e104b2d1e97fb881bf6d2277ea589.tar.gz tor-f067067ee66e104b2d1e97fb881bf6d2277ea589.zip |
Merge branch 'bug2474'
Had to resolve conflicts wrt the " (using bufferevents)" addition to the
startup string.
Conflicts:
src/or/main.c
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/or/main.c b/src/or/main.c index c1a7015e68..7008d388a1 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -2237,14 +2237,24 @@ tor_init(int argc, char *argv[]) } quiet_level = quiet; - log(LOG_NOTICE, LD_GENERAL, "Tor v%s%s. This is experimental software. " - "Do not rely on it for strong anonymity. (Running on %s)", get_version(), + { + const char *version = get_version(); + log_notice(LD_GENERAL, "Tor v%s%s running on %s.", version, #ifdef USE_BUFFEREVENTS - " (with bufferevents)", + " (with bufferevents)", #else - "", + "", #endif - get_uname()); + get_uname()); + + log_notice(LD_GENERAL, "WARNING: Tor can't help you if you use it wrong. " + "Learn how to be safe at " + "https://www.torproject.org/download/download#warning"); + + if (strstr(version, "alpha") || strstr(version, "beta")) + log_notice(LD_GENERAL, "This version is not a stable Tor release. " + "Expect more bugs than usual."); + } if (network_init()<0) { log_err(LD_BUG,"Error initializing network; exiting."); |