diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2017-07-16 14:28:10 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2017-07-18 10:23:47 +0200 |
commit | da6aa3f76382e6ddf471dad198c507b7c7704ffb (patch) | |
tree | fe763800fd0b484b3dbb1cec3675647074ce288c /projects/Windows/VC7 | |
parent | 798ad5d924a64cf68971fad04d357ed9b8b07f91 (diff) |
tests/server/resolve.c: fix deprecation warning
MSVC warns that gethostbyname is deprecated. Always use getaddrinfo
instead to fix this when IPv6 is enabled, also for IPv4 resolves. This
is also consistent with what libcurl does.
Closes https://github.com/curl/curl/pull/1682
Diffstat (limited to 'projects/Windows/VC7')
0 files changed, 0 insertions, 0 deletions