mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
fix two cases where we were printing unsigned int as %d
This commit is contained in:
parent
36ed5aa1c6
commit
c902b4981b
@ -745,7 +745,7 @@ circuit_expire_building(void)
|
||||
|
||||
if (victim->n_chan)
|
||||
log_info(LD_CIRC,
|
||||
"Abandoning circ %u %s:%d (state %d,%d:%s, purpose %d, "
|
||||
"Abandoning circ %u %s:%u (state %d,%d:%s, purpose %d, "
|
||||
"len %d)", TO_ORIGIN_CIRCUIT(victim)->global_identifier,
|
||||
channel_get_canonical_remote_descr(victim->n_chan),
|
||||
(unsigned)victim->n_circ_id,
|
||||
@ -755,7 +755,7 @@ circuit_expire_building(void)
|
||||
TO_ORIGIN_CIRCUIT(victim)->build_state->desired_path_len);
|
||||
else
|
||||
log_info(LD_CIRC,
|
||||
"Abandoning circ %u %d (state %d,%d:%s, purpose %d, len %d)",
|
||||
"Abandoning circ %u %u (state %d,%d:%s, purpose %d, len %d)",
|
||||
TO_ORIGIN_CIRCUIT(victim)->global_identifier,
|
||||
(unsigned)victim->n_circ_id,
|
||||
TO_ORIGIN_CIRCUIT(victim)->has_opened,
|
||||
|
Loading…
Reference in New Issue
Block a user