diff options
author | George Kadianakis <desnacked@riseup.net> | 2018-06-13 14:14:17 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2018-06-13 14:14:17 +0300 |
commit | 99974d4c1e28cb96d82734ef7cf3531576da610a (patch) | |
tree | 2e85fd0da69239a873a87f2d5eae4048c8293df6 /src | |
parent | aff49cc52dfabbd235505e12d507c6faf3262307 (diff) | |
download | tor-99974d4c1e28cb96d82734ef7cf3531576da610a.tar.gz tor-99974d4c1e28cb96d82734ef7cf3531576da610a.zip |
Silence warning of relaycell/circbw tst.
Shouldn't send RELAY_COMMAND_DATA cell with 0 stream id.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test_relaycell.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |