commit 99974d4c1e28cb96d82734ef7cf3531576da610a
Author: George Kadianakis <desnacked(a)riseup.net>
Date: Wed Jun 13 14:14:17 2018 +0300
Silence warning of relaycell/circbw tst.
Shouldn't send RELAY_COMMAND_DATA cell with 0 stream id.
---
src/test/test_relaycell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/test_relaycell.c b/src/test/test_relaycell.c
index 1db520273..f92033920 100644
--- a/src/test/test_relaycell.c
+++ b/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();