more verbose log for recording an odd cell

This commit is contained in:
Nick Mathewson 2011-09-27 14:39:57 -04:00
parent 40f343e176
commit f726c67dd4

View File

@ -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)