* fhandler_socket.cc (get_inet_addr): Add missing __seterrno call.

This commit is contained in:
Corinna Vinschen
2005-05-03 14:07:19 +00:00
parent 8559dd92d0
commit 2ba719de27
2 changed files with 6 additions and 0 deletions

View File

@@ -108,6 +108,8 @@ get_inet_addr (const struct sockaddr *in, int inlen,
: 0);
ret = 1;
}
else
__seterrno ();
CloseHandle (fh);
return ret;
}