[tor-commits] [tor/master] actually use the rate-limiting string

arma at torproject.org arma at torproject.org
Wed Oct 3 17:05:05 UTC 2012


commit 05f6f8f26d5911ec33e953f0c21ca56021bfe17d
Author: Roger Dingledine <arma at torproject.org>
Date:   Wed Oct 3 13:03:09 2012 -0400

    actually use the rate-limiting string
    
    previously we just allocated the string and then freed it.
---
 src/or/circuituse.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 11d5811..79e1ed0 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -1513,8 +1513,8 @@ circuit_get_open_circ_or_launch(entry_connection_t *conn,
       if ((m = rate_limit_log(&delay_limit, approx_time()))) {
         log_notice(LD_APP, "We'd like to launch a circuit to handle a "
                    "connection, but we already have %d general-purpose client "
-                   "circuits pending. Waiting until some finish.",
-                   n_pending);
+                   "circuits pending. Waiting until some finish.%s",
+                   n_pending, m);
         tor_free(m);
       }
       return 0;



More information about the tor-commits mailing list