From b677ff3d15f3a26b185e89f15dee45bbd125902d Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 18 May 2009 01:25:20 +0000 Subject: 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. --- ares_strerror.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ares_strerror.c') diff --git a/ares_strerror.c b/ares_strerror.c index 4a2f453..6ded90d 100644 --- a/ares_strerror.c +++ b/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))) -- cgit v1.2.3