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-udp-dgram-too-big.c | |
parent | 358c2901567c005689dceef1361754cca95ca14e (diff) | |
download | android-node-v8-7494c84fe6fa1127de5a9827119d9e389cbfb016.tar.gz android-node-v8-7494c84fe6fa1127de5a9827119d9e389cbfb016.tar.bz2 android-node-v8-7494c84fe6fa1127de5a9827119d9e389cbfb016.zip |
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-udp-dgram-too-big.c')
-rw-r--r-- | deps/uv/test/test-udp-dgram-too-big.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/deps/uv/test/test-udp-dgram-too-big.c b/deps/uv/test/test-udp-dgram-too-big.c index ecbafa96fc..bd44c42528 100644 --- a/deps/uv/test/test-udp-dgram-too-big.c +++ b/deps/uv/test/test-udp-dgram-too-big.c @@ -70,7 +70,12 @@ TEST_IMPL(udp_dgram_too_big) { buf = uv_buf_init(dgram, sizeof dgram); ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); - r = uv_udp_send(&req_, &handle_, &buf, 1, &addr, send_cb); + r = uv_udp_send(&req_, + &handle_, + &buf, + 1, + (const struct sockaddr*) &addr, + send_cb); ASSERT(r == 0); ASSERT(close_cb_called == 0); |