mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
fix for getaddrinfo
patch by Yuri Sidorov <jura at cp-lab dot com> svn path=/trunk/; revision=34560
This commit is contained in:
@@ -1427,7 +1427,9 @@ getaddrinfo(const char FAR * nodename,
|
||||
return WSAHOST_NOT_FOUND;
|
||||
port = se->s_port;
|
||||
}
|
||||
|
||||
else
|
||||
port = htons(port);
|
||||
|
||||
if (nodename)
|
||||
{
|
||||
/* Is it an IPv6 address? */
|
||||
|
||||
Reference in New Issue
Block a user