aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-01-15 00:25:07 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-15 00:25:07 -0500
commitebf30613ea41bbed3340851e839da9b7db4351c5 (patch)
tree7ffa45d3f89e7cf924ffecdd9645452605db8468
parent85eb83052f1d61b50fea380c5ac9cd4af16370cf (diff)
downloadtor-ebf30613ea41bbed3340851e839da9b7db4351c5.tar.gz
tor-ebf30613ea41bbed3340851e839da9b7db4351c5.zip
Better log message to diagnose #7959
-rw-r--r--src/or/circuitbuild.c3
1 files changed, 2 insertions, 1 deletions
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;