diff options
author | Yang Tse <yangsita@gmail.com> | 2009-05-26 18:00:14 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-05-26 18:00:14 +0000 |
commit | cf3301f024dea088612d72a0946273adf4aae902 (patch) | |
tree | d6436e96d02e6d3377d516c898e24b8e9fee1d11 /ares_strerror.c | |
parent | 84aa2f8a5dee92d546165b197928b3c124d082c5 (diff) | |
download | c-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.c | 1 |
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" }; |