pull/1/head
Yang Tse 16 years ago
parent 757642f675
commit d3f3189860
  1. 2
      ares.h
  2. 2
      ares_library_init.c

@ -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)

@ -38,7 +38,7 @@ static int ares_win32_init(void)
if (!fpGetNetworkParams)
{
FreeLibrary(hnd_iphlpapi);
return ARES_EADDRGetNetworkParams;
return ARES_EADDRGETNETWORKPARAMS;
}
/*

Loading…
Cancel
Save