mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
actually use the rate-limiting string
previously we just allocated the string and then freed it.
This commit is contained in:
parent
65e85dba1b
commit
05f6f8f26d
@ -1513,8 +1513,8 @@ circuit_get_open_circ_or_launch(entry_connection_t *conn,
|
|||||||
if ((m = rate_limit_log(&delay_limit, approx_time()))) {
|
if ((m = rate_limit_log(&delay_limit, approx_time()))) {
|
||||||
log_notice(LD_APP, "We'd like to launch a circuit to handle a "
|
log_notice(LD_APP, "We'd like to launch a circuit to handle a "
|
||||||
"connection, but we already have %d general-purpose client "
|
"connection, but we already have %d general-purpose client "
|
||||||
"circuits pending. Waiting until some finish.",
|
"circuits pending. Waiting until some finish.%s",
|
||||||
n_pending);
|
n_pending, m);
|
||||||
tor_free(m);
|
tor_free(m);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user