From d7de504f56f35ad7b14434cbd972687c7a3d88f1 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Fri, 27 May 2016 12:16:05 -0400 Subject: api: simplify --- test/src/test-uv-link-source-t.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/src') diff --git a/test/src/test-uv-link-source-t.c b/test/src/test-uv-link-source-t.c index 99d97d7..ba445a7 100644 --- a/test/src/test-uv-link-source-t.c +++ b/test/src/test-uv-link-source-t.c @@ -40,8 +40,8 @@ static void test_writes() { /* .write() should work */ buf = uv_buf_init("x", 1); - CHECK_EQ(uv_link_write(&source.link, &source.link, &buf, 1, NULL, - source_write_cb, &test_arg), + CHECK_EQ(uv_link_write(&source.link, &buf, 1, NULL, source_write_cb, + &test_arg), 0, "source.link.write() should return 0"); -- cgit 1.4.1-2-gfad0