Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
win: Fix error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
erickt authored and ry committed Oct 4, 2011
1 parent b590e12 commit 65fa887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win/udp.c
Expand Up @@ -148,7 +148,7 @@ static int uv__bind(uv_udp_t* handle, int domain, struct sockaddr* addr,

if ((flags & UV_UDP_IPV6ONLY) && domain != AF_INET6) {
/* UV_UDP_IPV6ONLY is supported only for IPV6 sockets */
uv__set_sys_error(loop, UV_EINVAL);
uv__set_artificial_error(loop, UV_EINVAL);
return -1;
}

Expand Down

0 comments on commit 65fa887

Please sign in to comment.