mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +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:
parent
c1e4ff95a4
commit
30feb7b285
1 changed files with 3 additions and 1 deletions
|
@ -1427,6 +1427,8 @@ getaddrinfo(const char FAR * nodename,
|
|||
return WSAHOST_NOT_FOUND;
|
||||
port = se->s_port;
|
||||
}
|
||||
else
|
||||
port = htons(port);
|
||||
|
||||
if (nodename)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue