aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2012-10-03 13:03:09 -0400
committerRoger Dingledine <arma@torproject.org>2012-10-03 13:03:09 -0400
commit05f6f8f26d5911ec33e953f0c21ca56021bfe17d (patch)
treeecd9bd2cfcd2cba535258aa66511a3839b9173fd /src/or/circuituse.c
parent65e85dba1be1c7ea6be0dca7e7e6bd7257d179c3 (diff)
downloadtor-05f6f8f26d5911ec33e953f0c21ca56021bfe17d.tar.gz
tor-05f6f8f26d5911ec33e953f0c21ca56021bfe17d.zip
actually use the rate-limiting string
previously we just allocated the string and then freed it.
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 11d581148a..79e1ed0fbb 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;