aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llares.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-10-17 19:06:47 -0500
committerJacek Antonelli2008-10-17 19:07:46 -0500
commit8f50d81693ff9463ae49c36935977a2b70e6bf45 (patch)
treec9cfff9baa90394b8a3866c5696c84352f19bba6 /linden/indra/llmessage/llares.cpp
parentFixed bad panel_overlay XML from a sloppy merge. (diff)
parentSecond Life viewer sources 1.21.6 (diff)
downloadmeta-impy-8f50d81693ff9463ae49c36935977a2b70e6bf45.zip
meta-impy-8f50d81693ff9463ae49c36935977a2b70e6bf45.tar.gz
meta-impy-8f50d81693ff9463ae49c36935977a2b70e6bf45.tar.bz2
meta-impy-8f50d81693ff9463ae49c36935977a2b70e6bf45.tar.xz
Updated source to SL version 1.21.6.
Diffstat (limited to '')
-rw-r--r--linden/indra/llmessage/llares.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/linden/indra/llmessage/llares.cpp b/linden/indra/llmessage/llares.cpp
index 5a310b3..7f573d2 100644
--- a/linden/indra/llmessage/llares.cpp
+++ b/linden/indra/llmessage/llares.cpp
@@ -100,9 +100,16 @@ void LLAres::QueryResponder::queryError(int code)
100 << LLAres::strerror(code) << llendl; 100 << LLAres::strerror(code) << llendl;
101} 101}
102 102
103LLAres::LLAres() 103LLAres::LLAres() :
104chan_(NULL), mInitSuccess(false)
104{ 105{
105 ares_init(&chan_); 106 if (ares_init(&chan_) != ARES_SUCCESS)
107 {
108 llwarns << "Could not succesfully initialize ares!" << llendl;
109 return;
110 }
111
112 mInitSuccess = true;
106} 113}
107 114
108LLAres::~LLAres() 115LLAres::~LLAres()