From: Nick Mathewson Date: Tue, 15 Jan 2013 05:25:07 +0000 (-0500) Subject: Better log message to diagnose #7959 X-Git-Tag: tor-0.2.4.9-alpha~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebf30613ea41bbed3340851e839da9b7db4351c5;p=thirdparty%2Ftor.git Better log message to diagnose #7959 --- diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index b304aebde5..e934acc860 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;