mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 10:33:37 +00:00
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: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7f888ea093
commit
d4f83ba77f
|
@ -410,6 +410,7 @@ static int addrinfo_err_from_unix( int err )
|
|||
{
|
||||
switch (err)
|
||||
{
|
||||
case 0: return 0;
|
||||
case EAI_AGAIN: return WS_EAI_AGAIN;
|
||||
case EAI_BADFLAGS: return WS_EAI_BADFLAGS;
|
||||
case EAI_FAIL: return WS_EAI_FAIL;
|
||||
|
|
Loading…
Reference in a new issue