mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +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()))) {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user