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

View file

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