Преглед изворни кода

Better log message to diagnose #7959

Nick Mathewson пре 12 година
родитељ
комит
ebf30613ea
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      src/or/circuitbuild.c

+ 2 - 1
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;