aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_strerror.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-26 18:00:14 +0000
committerYang Tse <yangsita@gmail.com>2009-05-26 18:00:14 +0000
commit1c93d9dcfe95f1bfd6df432f9d6b4b31ff1c06a1 (patch)
treed404d0cd0191ce060cd077430254461add3a6dec /ares/ares_strerror.c
parent675d6ec5e6d9dc51b0ff9ad28c0e901a7516e2ef (diff)
Make ares_init(), ares_dup() and ares_init_options() return ARES_ENOTINITIALIZED
if library initialization has not been performed calling ares_library_init().
Diffstat (limited to 'ares/ares_strerror.c')
-rw-r--r--ares/ares_strerror.c1
1 files changed, 1 insertions, 0 deletions
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"
};