Parcourir la source

Silence warning of relaycell/circbw tst.

Shouldn't send RELAY_COMMAND_DATA cell with 0 stream id.
George Kadianakis il y a 6 ans
Parent
commit
99974d4c1e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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();