diff options
| author | palange <palange@lindenlab.com> | 2009-10-12 19:03:52 -0400 |
|---|---|---|
| committer | palange <palange@lindenlab.com> | 2009-10-12 19:03:52 -0400 |
| commit | dbe7135cc4694e906a7d95a935df70f20514c962 (patch) | |
| tree | 227ed3c9bc717171aeb009067e0f07335bcee8c3 /indra/llmessage/llares.cpp | |
| parent | d4b2897700c66354413af42ab055bd1aaa47f91c (diff) | |
| parent | e3a4e3dc10a96b0822674cea262f41774e55a660 (diff) | |
merge of login-api
Diffstat (limited to 'indra/llmessage/llares.cpp')
| -rw-r--r-- | indra/llmessage/llares.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/llmessage/llares.cpp b/indra/llmessage/llares.cpp index fe37fe8142..acbf51d75c 100644 --- a/indra/llmessage/llares.cpp +++ b/indra/llmessage/llares.cpp @@ -33,6 +33,7 @@ */ #include "linden_common.h" +#include "llares.h" #include <ares_dns.h> #include <ares_version.h> @@ -42,9 +43,10 @@ #include "apr_poll.h" #include "llapr.h" -#include "llares.h" +#include "llareslistener.h" #if defined(LL_WINDOWS) +#pragma warning (disable : 4355) // 'this' used in initializer list: yes, intentionally # define ns_c_in 1 # define NS_HFIXEDSZ 12 /* #/bytes of fixed data in header */ # define NS_QFIXEDSZ 4 /* #/bytes of fixed data in query */ @@ -102,7 +104,9 @@ void LLAres::QueryResponder::queryError(int code) } LLAres::LLAres() : -chan_(NULL), mInitSuccess(false) + chan_(NULL), + mInitSuccess(false), + mListener(new LLAresListener("LLAres", this)) { if (ares_init(&chan_) != ARES_SUCCESS) { |
