Kaynağa Gözat

Silence warning of relaycell/circbw tst.

Shouldn't send RELAY_COMMAND_DATA cell with 0 stream id.
George Kadianakis 6 yıl önce
ebeveyn
işleme
99974d4c1e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/test/test_relaycell.c

+ 1 - 1
src/test/test_relaycell.c

@@ -221,7 +221,7 @@ test_circbw_relay(void *arg)
   ASSERT_UNCOUNTED_BW();
 
   /* Data cell on stream 0: not counted */
-  PACK_CELL(0, RELAY_COMMAND_DATA, "Data1234");
+  PACK_CELL(1, RELAY_COMMAND_DATA, "Data1234");
   connection_edge_process_relay_cell(&cell, TO_CIRCUIT(circ), edgeconn,
                                      circ->cpath);
   ASSERT_UNCOUNTED_BW();