summaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-02-20 02:03:42 -0500
committerNick Mathewson <nickm@torproject.org>2015-02-23 13:03:56 -0500
commitd221b507c9b014039a94aa91bed082689342e347 (patch)
tree32b2d78390aaa9a126dbbe729f11d23db63efaa6 /src/or/circuitbuild.c
parent10ae9b9bf5882287ada74bc3e90f65ca64c27fab (diff)
downloadtor-d221b507c9b014039a94aa91bed082689342e347.tar.gz
tor-d221b507c9b014039a94aa91bed082689342e347.zip
Avoid logging natural-language reports that are redundant with bootstrapping
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 57056b2a66..946c002735 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -960,7 +960,11 @@ circuit_send_next_onion_skin(origin_circuit_t *circ)
log_notice(LD_GENERAL,
"Tor has successfully opened a circuit. "
"Looks like client functionality is working.");
- control_event_bootstrap(BOOTSTRAP_STATUS_DONE, 0);
+ if (control_event_bootstrap(BOOTSTRAP_STATUS_DONE, 0) == 0) {
+ log_notice(LD_GENERAL,
+ "Tor has successfully opened a circuit. "
+ "Looks like client functionality is working.");
+ }
control_event_client_status(LOG_NOTICE, "CIRCUIT_ESTABLISHED");
clear_broken_connection_map(1);
if (server_mode(options) && !check_whether_orport_reachable()) {