Stefan Dösinger <stefan(a)codeweavers.com> writes:
> @@ -6576,6 +6592,8 @@ int WINAPI WS_getaddrinfo(LPCSTR nodename, LPCSTR servname, const struct WS_addr
>
> hostname = get_hostname();
> if (!hostname) return WSA_NOT_ENOUGH_MEMORY;
> + fqdn = get_fqdn();
> + if (!fqdn) return WSA_NOT_ENOUGH_MEMORY;
It seems to me that you shouldn't need to retrieve both separately, the
FQDN contains the hostname already.
--
Alexandre Julliard
julliard(a)winehq.org