aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_strerror.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-18 01:25:20 +0000
committerYang Tse <yangsita@gmail.com>2009-05-18 01:25:20 +0000
commita450efb48357bff39fcb214d4d5115ee2d3b8d9d (patch)
tree9176d109e0ad3747057c7def648d341015fc8385 /ares/ares_strerror.c
parent0cf8d4f8e8d847af1fb3756ecfac13423215d59e (diff)
Intentionally avoid checking if the address of SystemFunction036, a.k.a.
RtlGenRandom, has been located or not. This function is only available on WinXP and later. When unavailable c-ares uses portable rand() function.
Diffstat (limited to 'ares/ares_strerror.c')
-rw-r--r--ares/ares_strerror.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ares/ares_strerror.c b/ares/ares_strerror.c
index 4a2f4538e..6ded90da0 100644
--- a/ares/ares_strerror.c
+++ b/ares/ares_strerror.c
@@ -46,8 +46,7 @@ const char *ares_strerror(int code)
"Illegal hints flags specified",
"Error loading iphlpapi.dll",
"Error loading advapi32.dll",
- "Unknown GetNetworkParams function address",
- "Unknown SystemFunction036 function address"
+ "Could not find GetNetworkParams function"
};
if(code >= 0 && code < (int)(sizeof(errtext) / sizeof(*errtext)))