commit ebf30613ea41bbed3340851e839da9b7db4351c5 Author: Nick Mathewson nickm@torproject.org Date: Tue Jan 15 00:25:07 2013 -0500
Better log message to diagnose #7959 --- src/or/circuitbuild.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index b304aeb..e934acc 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -2177,7 +2177,8 @@ onionskin_answer(or_circuit_t *circ, crypt_path_t *tmp_cpath;
if (created_cell_format(&cell, created_cell) < 0) { - log_warn(LD_BUG,"couldn't format created cell"); + log_warn(LD_BUG,"couldn't format created cell (type=%d, len=%d)", + (int)created_cell->cell_type, (int)created_cell->handshake_len); return -1; } cell.circ_id = circ->p_circ_id;
tor-commits@lists.torproject.org