diff options
author | Jacek Antonelli | 2008-10-17 19:06:47 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-10-17 19:07:46 -0500 |
commit | 8f50d81693ff9463ae49c36935977a2b70e6bf45 (patch) | |
tree | c9cfff9baa90394b8a3866c5696c84352f19bba6 /linden/indra/llmessage/llares.cpp | |
parent | Fixed bad panel_overlay XML from a sloppy merge. (diff) | |
parent | Second Life viewer sources 1.21.6 (diff) | |
download | meta-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.cpp | 11 |
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 | ||
103 | LLAres::LLAres() | 103 | LLAres::LLAres() : |
104 | chan_(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 | ||
108 | LLAres::~LLAres() | 115 | LLAres::~LLAres() |