Fix case
authorYang Tse <yangsita@gmail.com>
Tue, 19 May 2009 15:19:03 +0000 (15:19 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 19 May 2009 15:19:03 +0000 (15:19 +0000)
ares.h
ares_library_init.c

diff --git a/ares.h b/ares.h
index 9f4413f..de52a0b 100644 (file)
--- a/ares.h
+++ b/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)
index b3e8dc9..4ed7dfd 100644 (file)
@@ -38,7 +38,7 @@ static int ares_win32_init(void)
   if (!fpGetNetworkParams)
     {
       FreeLibrary(hnd_iphlpapi);
-      return ARES_EADDRGetNetworkParams;
+      return ARES_EADDRGETNETWORKPARAMS;
     }
 
   /*