[PATCH] ws2_32: Also check the FQDN when injecting the local IP.
Alexandre Julliard
julliard at winehq.org
Mon Aug 28 07:38:00 CDT 2017
Stefan Dösinger <stefan at 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 at winehq.org
More information about the wine-devel
mailing list