]> granicus.if.org Git - curl/commitdiff
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/ares.h
ares/ares_library_init.c

index 9f4413f626d58137288ef7713e66a523b5fdda0c..de52a0b97b399df9e77826041487738177c8fd80 100644 (file)
@@ -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 b3e8dc9e175a5adc103b0ad922028bd8f0202043..4ed7dfdc86eefbd3373d88eb527ed05104cfd069 100644 (file)
@@ -38,7 +38,7 @@ static int ares_win32_init(void)
   if (!fpGetNetworkParams)
     {
       FreeLibrary(hnd_iphlpapi);
-      return ARES_EADDRGetNetworkParams;
+      return ARES_EADDRGETNETWORKPARAMS;
     }
 
   /*