]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Better log message to diagnose #7959
authorNick Mathewson <nickm@torproject.org>
Tue, 15 Jan 2013 05:25:07 +0000 (00:25 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 15 Jan 2013 05:25:07 +0000 (00:25 -0500)
src/or/circuitbuild.c

index b304aebde562d0d3375907555630d2c56655dd73..e934acc8601a825acf51df8f831e89971f7b56d7 100644 (file)
@@ -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;