winsock: getaddrinfo - return code mapping.

convert_eai_u2w should map from unix to windows, not the other way
round (spotted by Dominic Wise).
This commit is contained in:
Marcus Meissner 2005-12-12 11:55:11 +01:00 committed by Alexandre Julliard
parent 6194255d5b
commit b364f81218
1 changed files with 2 additions and 2 deletions

View File

@ -3106,8 +3106,8 @@ static int convert_eai_u2w(int unixret) {
int i;
for (i=0;ws_eai_map[i][0];i++)
if (ws_eai_map[i][0] == unixret)
return ws_eai_map[i][1];
if (ws_eai_map[i][1] == unixret)
return ws_eai_map[i][0];
return unixret;
}