aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-19 15:19:03 +0000
committerYang Tse <yangsita@gmail.com>2009-05-19 15:19:03 +0000
commitdff807602242b33297dffec479351db9c26ac742 (patch)
treeacfce290da2da093976d6b76661e921be9422b55
parentdd3c1874846d65ffd3233708ccc86d0d7e621a48 (diff)
Fix case
-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;
}
/*