ws2_32: Do not convert EAI_xxx return in case of success.

This commit is contained in:
Bruno Jesus 2013-12-26 17:57:05 -02:00 committed by Alexandre Julliard
parent 263a1448f9
commit fc5884c232
1 changed files with 2 additions and 0 deletions

View File

@ -5365,6 +5365,8 @@ static int convert_aiflag_u2w(int unixflags) {
static int convert_eai_u2w(int unixret) { static int convert_eai_u2w(int unixret) {
int i; int i;
if (!unixret) return 0;
for (i=0;ws_eai_map[i][0];i++) for (i=0;ws_eai_map[i][0];i++)
if (ws_eai_map[i][1] == unixret) if (ws_eai_map[i][1] == unixret)
return ws_eai_map[i][0]; return ws_eai_map[i][0];