summaryrefslogtreecommitdiff
path: root/evutil.c
diff options
context:
space:
mode:
authorAleksandr-Melnikov <64836370+Aleksandr-Melnikov@users.noreply.github.com>2020-05-05 10:31:09 +0100
committerGitHub <noreply@github.com>2020-05-05 10:31:09 +0100
commit61fc2bf2e9719eb7ca9c56b6e186df2f79f05de7 (patch)
tree04e7bc8a9272528dc1eac10f214f4057ffa37b0d /evutil.c
parent4c13afaeec2d35df2580dfbc49391d0524101248 (diff)
downloadlibevent-61fc2bf2e9719eb7ca9c56b6e186df2f79f05de7.tar.gz
There is typo in GetAdaptersAddresses windows library. It should be iphlpapi.dll
Diffstat (limited to 'evutil.c')
-rw-r--r--evutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/evutil.c b/evutil.c
index 17962548..eee970a4 100644
--- a/evutil.c
+++ b/evutil.c
@@ -879,7 +879,7 @@ evutil_check_ifaddrs(void)
"GetAdaptersInfo", but that's deprecated; let's just try
GetAdaptersAddresses and fall back to connect+getsockname.
*/
- HMODULE lib = evutil_load_windows_system_library_(TEXT("ihplapi.dll"));
+ HMODULE lib = evutil_load_windows_system_library_(TEXT("iphlpapi.dll"));
GetAdaptersAddresses_fn_t fn;
ULONG size, res;
IP_ADAPTER_ADDRESSES *addresses = NULL, *address;