aboutsummaryrefslogtreecommitdiff
path: root/test/benchmark-tcp-write-batch.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/benchmark-tcp-write-batch.c')
-rw-r--r--test/benchmark-tcp-write-batch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/benchmark-tcp-write-batch.c b/test/benchmark-tcp-write-batch.c
index 59fd3af1..09b93c24 100644
--- a/test/benchmark-tcp-write-batch.c
+++ b/test/benchmark-tcp-write-batch.c
@@ -117,7 +117,7 @@ BENCHMARK_IMPL(tcp_write_batch) {
r = uv_tcp_init(loop, &tcp_client);
ASSERT(r == 0);
- r = uv_tcp_connect(&connect_req, &tcp_client, addr, connect_cb);
+ r = uv_tcp_connect(&connect_req, &tcp_client, &addr, connect_cb);
ASSERT(r == 0);
start = uv_hrtime();