diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/llmessage/llservicebuilder.cpp | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2 meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz |
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/llmessage/llservicebuilder.cpp')
-rw-r--r-- | linden/indra/llmessage/llservicebuilder.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/llmessage/llservicebuilder.cpp b/linden/indra/llmessage/llservicebuilder.cpp index 195e24b..138ab2d 100644 --- a/linden/indra/llmessage/llservicebuilder.cpp +++ b/linden/indra/llmessage/llservicebuilder.cpp | |||
@@ -134,6 +134,9 @@ std::string LLServiceBuilder::buildServiceURI( | |||
134 | std::string::iterator end(service_url.end()); | 134 | std::string::iterator end(service_url.end()); |
135 | std::string::iterator deepest_node(service_url.end()); | 135 | std::string::iterator deepest_node(service_url.end()); |
136 | std::string::iterator deepest_node_end(service_url.end()); | 136 | std::string::iterator deepest_node_end(service_url.end()); |
137 | //parse out the variables to replace by going through {}s one at a time, | ||
138 | // starting with the "deepest" in series {{}}, | ||
139 | // and otherwise replacing right-to-left | ||
137 | for(; iter != end; ++iter) | 140 | for(; iter != end; ++iter) |
138 | { | 141 | { |
139 | switch(*iter) | 142 | switch(*iter) |
@@ -163,7 +166,7 @@ std::string LLServiceBuilder::buildServiceURI( | |||
163 | { | 166 | { |
164 | break; | 167 | break; |
165 | } | 168 | } |
166 | 169 | //replace the variable we found in the {} above. | |
167 | // *NOTE: since the c++ implementation only understands | 170 | // *NOTE: since the c++ implementation only understands |
168 | // params and straight string substitution, so it's a | 171 | // params and straight string substitution, so it's a |
169 | // known distance of 2 to skip the directive. | 172 | // known distance of 2 to skip the directive. |
@@ -181,7 +184,7 @@ std::string LLServiceBuilder::buildServiceURI( | |||
181 | } | 184 | } |
182 | else | 185 | else |
183 | { | 186 | { |
184 | llinfos << "Unknown key: " << key << llendl; | 187 | llwarns << "Unknown key: " << key << " in option map: " << LLSDOStreamer<LLSDNotationFormatter>(option_map) << llendl; |
185 | keep_looping = false; | 188 | keep_looping = false; |
186 | } | 189 | } |
187 | break; | 190 | break; |