ws2_32: Do not convert EAI_xxx return in case of success.
This commit is contained in:
parent
263a1448f9
commit
fc5884c232
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue