diff options
author | brad kittenbrink <brad@lindenlab.com> | 2010-06-14 14:30:34 -0700 |
---|---|---|
committer | brad kittenbrink <brad@lindenlab.com> | 2010-06-14 14:30:34 -0700 |
commit | dc446700e3bf41ddb93602013285177996b66bd5 (patch) | |
tree | d37deec525b6a7b1a57966352e4a41a7f7fdd591 /indra/llmessage | |
parent | 788c787ea7bb80d1a9b29f210d9af9f4da5d4cdb (diff) |
FIX EXT-7857 - c-ares library initialization was skipping a new step.
Diffstat (limited to 'indra/llmessage')
-rw-r--r-- | indra/llmessage/llares.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llmessage/llares.cpp b/indra/llmessage/llares.cpp index 78561b37aa..5b7e5138ef 100644 --- a/indra/llmessage/llares.cpp +++ b/indra/llmessage/llares.cpp @@ -108,7 +108,8 @@ LLAres::LLAres() : mInitSuccess(false), mListener(new LLAresListener(this)) { - if (ares_init(&chan_) != ARES_SUCCESS) + if (ares_library_init( ARES_LIB_INIT_ALL ) != ARES_SUCCESS || + ares_init(&chan_) != ARES_SUCCESS) { llwarns << "Could not succesfully initialize ares!" << llendl; return; @@ -120,6 +121,7 @@ LLAres::LLAres() : LLAres::~LLAres() { ares_destroy(chan_); + ares_library_cleanup(); } void LLAres::cancel() |