fix for getaddrinfo

patch by Yuri Sidorov <jura at cp-lab dot com>

svn path=/trunk/; revision=34560
This commit is contained in:
Christoph von Wittich 2008-07-17 08:07:37 +00:00
parent c1e4ff95a4
commit 30feb7b285

View file

@ -1427,6 +1427,8 @@ getaddrinfo(const char FAR * nodename,
return WSAHOST_NOT_FOUND;
port = se->s_port;
}
else
port = htons(port);
if (nodename)
{