[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] more verbose log for recording an odd cell



commit f726c67dd485bf67e02c12fbb04e99447e407487
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue Sep 27 14:39:57 2011 -0400

    more verbose log for recording an odd cell
---
 src/or/connection_or.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index adaaa2c..004c19f 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -1608,7 +1608,8 @@ or_handshake_state_record_cell(or_handshake_state_t *state,
   packed_cell_t packed;
   if (!incoming) {
     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;
   if (! *dptr)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits