Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
XDG Integration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
JennaHuntsman
XDG Integration
Commits
618e625a
Commit
618e625a
authored
17 years ago
by
Josh Bell
Browse files
Options
Downloads
Patches
Plain Diff
svn merge -r 82118:82122
svn+ssh://svn.lindenlab.com/svn/linden/qa/dpo-12-merge-2
QAR-356 Merge of DPO-12
parent
1be80e5c
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/llmessage/llservicebuilder.cpp
+5
-2
5 additions, 2 deletions
indra/llmessage/llservicebuilder.cpp
with
5 additions
and
2 deletions
indra/llmessage/llservicebuilder.cpp
+
5
−
2
View file @
618e625a
...
@@ -134,6 +134,9 @@ std::string LLServiceBuilder::buildServiceURI(
...
@@ -134,6 +134,9 @@ std::string LLServiceBuilder::buildServiceURI(
std
::
string
::
iterator
end
(
service_url
.
end
());
std
::
string
::
iterator
end
(
service_url
.
end
());
std
::
string
::
iterator
deepest_node
(
service_url
.
end
());
std
::
string
::
iterator
deepest_node
(
service_url
.
end
());
std
::
string
::
iterator
deepest_node_end
(
service_url
.
end
());
std
::
string
::
iterator
deepest_node_end
(
service_url
.
end
());
//parse out the variables to replace by going through {}s one at a time,
// starting with the "deepest" in series {{}},
// and otherwise replacing right-to-left
for
(;
iter
!=
end
;
++
iter
)
for
(;
iter
!=
end
;
++
iter
)
{
{
switch
(
*
iter
)
switch
(
*
iter
)
...
@@ -163,7 +166,7 @@ std::string LLServiceBuilder::buildServiceURI(
...
@@ -163,7 +166,7 @@ std::string LLServiceBuilder::buildServiceURI(
{
{
break
;
break
;
}
}
//replace the variable we found in the {} above.
// *NOTE: since the c++ implementation only understands
// *NOTE: since the c++ implementation only understands
// params and straight string substitution, so it's a
// params and straight string substitution, so it's a
// known distance of 2 to skip the directive.
// known distance of 2 to skip the directive.
...
@@ -181,7 +184,7 @@ std::string LLServiceBuilder::buildServiceURI(
...
@@ -181,7 +184,7 @@ std::string LLServiceBuilder::buildServiceURI(
}
}
else
else
{
{
ll
info
s
<<
"Unknown key: "
<<
key
<<
llendl
;
ll
warn
s
<<
"Unknown key: "
<<
key
<<
" in option map: "
<<
LLSDOStreamer
<
LLSDNotationFormatter
>
(
option_map
)
<<
llendl
;
keep_looping
=
false
;
keep_looping
=
false
;
}
}
break
;
break
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment