diff options
author | Aleksandr-Melnikov <64836370+Aleksandr-Melnikov@users.noreply.github.com> | 2020-05-05 10:31:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-05 10:31:09 +0100 |
commit | 61fc2bf2e9719eb7ca9c56b6e186df2f79f05de7 (patch) | |
tree | 04e7bc8a9272528dc1eac10f214f4057ffa37b0d /evutil.c | |
parent | 4c13afaeec2d35df2580dfbc49391d0524101248 (diff) | |
download | libevent-61fc2bf2e9719eb7ca9c56b6e186df2f79f05de7.tar.gz |
There is typo in GetAdaptersAddresses windows library. It should be iphlpapi.dll
Diffstat (limited to 'evutil.c')
-rw-r--r-- | evutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |