summaryrefslogtreecommitdiff
path: root/src/test/test_buffers.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-11-12 13:42:01 -0500
committerNick Mathewson <nickm@torproject.org>2014-11-12 13:42:01 -0500
commit4ac5175109b14f8fafca3374ab5ca63968ab2cca (patch)
tree2d5b009f443942de02807a43d796ae2a4351488a /src/test/test_buffers.c
parenta3dafd3f58bb3122b9de919e931c02b5e12373b2 (diff)
downloadtor-4ac5175109b14f8fafca3374ab5ca63968ab2cca.tar.gz
tor-4ac5175109b14f8fafca3374ab5ca63968ab2cca.zip
Fix wide lines (from 13172)
Diffstat (limited to 'src/test/test_buffers.c')
-rw-r--r--src/test/test_buffers.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/test_buffers.c b/src/test/test_buffers.c
index 7e42124a1c..cb29ab0a9e 100644
--- a/src/test/test_buffers.c
+++ b/src/test/test_buffers.c
@@ -499,7 +499,8 @@ test_buffer_allocation_tracking(void *arg)
tt_int_op(buf_get_total_allocation(), OP_EQ, 16384);
write_to_buf(junk, 4000, buf2);
tt_int_op(buf_allocation(buf2), OP_EQ, 8192); /* another 4k chunk. */
- tt_int_op(buf_get_total_allocation(), OP_EQ, 5*4096); /* that chunk was new. */
+ tt_int_op(buf_get_total_allocation(),
+ OP_EQ, 5*4096); /* that chunk was new. */
/* Make a really huge buffer */
for (i = 0; i < 1000; ++i) {
@@ -554,7 +555,8 @@ test_buffer_time_tracking(void *arg)
buf2 = buf_copy(buf);
tt_assert(buf2);
- tt_int_op(1234, OP_EQ, buf_get_oldest_chunk_timestamp(buf2, START_MSEC+1234));
+ tt_int_op(1234, OP_EQ,
+ buf_get_oldest_chunk_timestamp(buf2, START_MSEC+1234));
/* Now add more bytes; enough to overflow the first chunk. */
tv0.tv_usec += 123 * 1000;