From 1c93d9dcfe95f1bfd6df432f9d6b4b31ff1c06a1 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 26 May 2009 18:00:14 +0000 Subject: Make ares_init(), ares_dup() and ares_init_options() return ARES_ENOTINITIALIZED if library initialization has not been performed calling ares_library_init(). --- ares/ares_strerror.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ares/ares_strerror.c') diff --git a/ares/ares_strerror.c b/ares/ares_strerror.c index 6d291ee63..597ec64b6 100644 --- a/ares/ares_strerror.c +++ b/ares/ares_strerror.c @@ -44,6 +44,7 @@ const char *ares_strerror(int code) "Illegal flags specified", "Given hostname is not numeric", "Illegal hints flags specified", + "c-ares library initialization not yet performed", "Error loading iphlpapi.dll", "Could not find GetNetworkParams function" }; -- cgit v1.2.3