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 | 1c93d9dcfe95f1bfd6df432f9d6b4b31ff1c06a1 (patch) | |
tree | d404d0cd0191ce060cd077430254461add3a6dec /ares/ares_strerror.c | |
parent | 675d6ec5e6d9dc51b0ff9ad28c0e901a7516e2ef (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.c | 1 |
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" }; |