]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
actually use the rate-limiting string
authorRoger Dingledine <arma@torproject.org>
Wed, 3 Oct 2012 17:03:09 +0000 (13:03 -0400)
committerRoger Dingledine <arma@torproject.org>
Wed, 3 Oct 2012 17:03:09 +0000 (13:03 -0400)
previously we just allocated the string and then freed it.

src/or/circuituse.c

index 11d581148accf2cd5c49aa70fd7a6804dd372a73..79e1ed0fbb38a24251632a9848acfc90b56c9f8f 100644 (file)
@@ -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;