diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-12-21 11:10:30 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-21 11:10:30 -0500 |
commit | 2f0d57db56f87a21e1a927a526c1a82ebd32f9f8 (patch) | |
tree | 53963eb14ae84392374a366d8a7e73738b6d451e /src/test/test_channel.c | |
parent | 1eeb505e6f08591c39e0a000efab3948ef1ef5b5 (diff) | |
download | tor-2f0d57db56f87a21e1a927a526c1a82ebd32f9f8.tar.gz tor-2f0d57db56f87a21e1a927a526c1a82ebd32f9f8.zip |
Fix a compilation error in the channel tests.
This would only show up on systems like windows where monotime_t and
monotime_coarse_t are different types.
Diffstat (limited to 'src/test/test_channel.c')
-rw-r--r-- | src/test/test_channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_channel.c b/src/test/test_channel.c index 425c93f42f..bdc9d32f78 100644 --- a/src/test/test_channel.c +++ b/src/test/test_channel.c @@ -719,7 +719,7 @@ test_channel_inbound_cell(void *arg) tt_assert(!monotime_coarse_is_zero(&chan->timestamp_xfer)); tt_u64_op(chan->timestamp_active, OP_NE, 0); tt_u64_op(chan->timestamp_recv, OP_NE, 0); - tt_assert(monotime_is_zero(&chan->next_padding_time)); + tt_assert(monotime_coarse_is_zero(&chan->next_padding_time)); tt_u64_op(chan->n_cells_recved, OP_EQ, 1); tt_u64_op(chan->n_bytes_recved, OP_EQ, get_cell_network_size(0)); |