Explorar o código

Silence warning of relaycell/circbw tst.

Shouldn't send RELAY_COMMAND_DATA cell with 0 stream id.
George Kadianakis %!s(int64=6) %!d(string=hai) anos
pai
achega
99974d4c1e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();