From 99974d4c1e28cb96d82734ef7cf3531576da610a Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Wed, 13 Jun 2018 14:14:17 +0300 Subject: [PATCH] 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 1db5202739..f92033920e 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();