aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/ares.h2
-rw-r--r--ares/ares_library_init.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ares/ares.h b/ares/ares.h
index 9f4413f62..de52a0b97 100644
--- a/ares/ares.h
+++ b/ares/ares.h
@@ -96,7 +96,7 @@ extern "C" {
/* ares_library_init error codes */
#define ARES_ELOADIPHLPAPI 21
-#define ARES_EADDRGetNetworkParams 22
+#define ARES_EADDRGETNETWORKPARAMS 22
/* Flag values */
#define ARES_FLAG_USEVC (1 << 0)
diff --git a/ares/ares_library_init.c b/ares/ares_library_init.c
index b3e8dc9e1..4ed7dfdc8 100644
--- a/ares/ares_library_init.c
+++ b/ares/ares_library_init.c
@@ -38,7 +38,7 @@ static int ares_win32_init(void)
if (!fpGetNetworkParams)
{
FreeLibrary(hnd_iphlpapi);
- return ARES_EADDRGetNetworkParams;
+ return ARES_EADDRGETNETWORKPARAMS;
}
/*