diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-09-04 14:46:35 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-09-04 18:11:32 +0200 |
commit | 7494c84fe6fa1127de5a9827119d9e389cbfb016 (patch) | |
tree | 6f9ca90a24ea233aa3426579a455a425fbad470d /deps/uv/test/test-tcp-write-to-half-open-connection.c | |
parent | 358c2901567c005689dceef1361754cca95ca14e (diff) | |
download | node-new-7494c84fe6fa1127de5a9827119d9e389cbfb016.tar.gz |
uv: upgrade to v0.11.13
This commit changes src/tcp_wrap.cc and src/udp_wrap.cc just enough to
get by (i.e. to compile and function correctly.)
The new libuv API allows for more cleanup and deduplication but I'm
saving that for another day.
Diffstat (limited to 'deps/uv/test/test-tcp-write-to-half-open-connection.c')
-rw-r--r-- | deps/uv/test/test-tcp-write-to-half-open-connection.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/deps/uv/test/test-tcp-write-to-half-open-connection.c b/deps/uv/test/test-tcp-write-to-half-open-connection.c index b33deee6fa..92cc7d9607 100644 --- a/deps/uv/test/test-tcp-write-to-half-open-connection.c +++ b/deps/uv/test/test-tcp-write-to-half-open-connection.c @@ -115,7 +115,7 @@ TEST_IMPL(tcp_write_to_half_open_connection) { r = uv_tcp_init(loop, &tcp_server); ASSERT(r == 0); - r = uv_tcp_bind(&tcp_server, &addr); + r = uv_tcp_bind(&tcp_server, (const struct sockaddr*) &addr); ASSERT(r == 0); r = uv_listen((uv_stream_t*)&tcp_server, 1, connection_cb); @@ -124,7 +124,10 @@ TEST_IMPL(tcp_write_to_half_open_connection) { 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, + (const struct sockaddr*) &addr, + connect_cb); ASSERT(r == 0); r = uv_run(loop, UV_RUN_DEFAULT); |