Commit d4f83ba7 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

ws2_32: Handle success in addrinfo_err_from_unix.

When unix_getnameinfo is called, we end up with a warning fixme for no reason. 0740:fixme:winsock:addrinfo_err_from_unix unhandled error 0 Signed-off-by: 's avatarAlistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: 's avatarZebediah Figura <zfigura@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 7f888ea0
...@@ -410,6 +410,7 @@ static int addrinfo_err_from_unix( int err ) ...@@ -410,6 +410,7 @@ static int addrinfo_err_from_unix( int err )
{ {
switch (err) switch (err)
{ {
case 0: return 0;
case EAI_AGAIN: return WS_EAI_AGAIN; case EAI_AGAIN: return WS_EAI_AGAIN;
case EAI_BADFLAGS: return WS_EAI_BADFLAGS; case EAI_BADFLAGS: return WS_EAI_BADFLAGS;
case EAI_FAIL: return WS_EAI_FAIL; case EAI_FAIL: return WS_EAI_FAIL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment