mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
more verbose log for recording an odd cell
This commit is contained in:
parent
40f343e176
commit
f726c67dd4
@ -1608,7 +1608,8 @@ or_handshake_state_record_cell(or_handshake_state_t *state,
|
|||||||
packed_cell_t packed;
|
packed_cell_t packed;
|
||||||
if (!incoming) {
|
if (!incoming) {
|
||||||
log_warn(LD_BUG, "We shouldn't be sending any non-variable-length cells "
|
log_warn(LD_BUG, "We shouldn't be sending any non-variable-length cells "
|
||||||
"whilemaking a handshake digest. But we think we are.");
|
"while making a handshake digest. But we think we are sending "
|
||||||
|
"one with type %d.", (int)cell->command);
|
||||||
}
|
}
|
||||||
dptr = incoming ? &state->digest_received : &state->digest_sent;
|
dptr = incoming ? &state->digest_received : &state->digest_sent;
|
||||||
if (! *dptr)
|
if (! *dptr)
|
||||||
|
Loading…
Reference in New Issue
Block a user