diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-01-22 16:21:25 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-01-22 16:21:25 +0100 |
commit | 814bdf0f51fd3219063a44f919dfcdb6e51951f7 (patch) | |
tree | 90116f4843a754e6e6cffa63ddd16c015ee1fd1c /deps/uv/src/unix/udp.c | |
parent | d5a590134655c9a59cfcab72217442ac4c795fd7 (diff) | |
download | android-node-v8-814bdf0f51fd3219063a44f919dfcdb6e51951f7.tar.gz android-node-v8-814bdf0f51fd3219063a44f919dfcdb6e51951f7.tar.bz2 android-node-v8-814bdf0f51fd3219063a44f919dfcdb6e51951f7.zip |
deps: upgrade libuv to 7841f77
Diffstat (limited to 'deps/uv/src/unix/udp.c')
-rw-r--r-- | deps/uv/src/unix/udp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/uv/src/unix/udp.c b/deps/uv/src/unix/udp.c index f79b09cd80..8388ba6c23 100644 --- a/deps/uv/src/unix/udp.c +++ b/deps/uv/src/unix/udp.c @@ -542,8 +542,7 @@ int uv_udp_set_membership(uv_udp_t* handle, const char* multicast_addr, optname = IP_DROP_MEMBERSHIP; break; default: - uv__set_sys_error(handle->loop, EFAULT); - return -1; + return uv__set_artificial_error(handle->loop, UV_EINVAL); } if (setsockopt(handle->io_watcher.fd, IPPROTO_IP, optname, (void*) &mreq, sizeof mreq) == -1) { |