summaryrefslogtreecommitdiff
path: root/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
commitcf3301f024dea088612d72a0946273adf4aae902 (patch)
treed6436e96d02e6d3377d516c898e24b8e9fee1d11 /ares_strerror.c
parent84aa2f8a5dee92d546165b197928b3c124d082c5 (diff)
downloadc-ares-cf3301f024dea088612d72a0946273adf4aae902.tar.gz
c-ares-cf3301f024dea088612d72a0946273adf4aae902.tar.bz2
c-ares-cf3301f024dea088612d72a0946273adf4aae902.zip
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_strerror.c')
-rw-r--r--ares_strerror.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ares_strerror.c b/ares_strerror.c
index 6d291ee..597ec64 100644
--- a/ares_strerror.c
+++ b/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"
};