summaryrefslogtreecommitdiff
path: root/indra/llmessage/lltrustedmessageservice.cpp
diff options
context:
space:
mode:
authorNyx Linden <nyx@lindenlab.com>2013-04-08 17:03:24 -0400
committerNyx Linden <nyx@lindenlab.com>2013-04-08 17:03:24 -0400
commitb4c60f430332674e5dbdb672152e62d252e9a6e1 (patch)
treec9fb6805638fc95ea0ca2c3ef28a41e915ad7f18 /indra/llmessage/lltrustedmessageservice.cpp
parent3e53ade13e7c9e70ba67a1e845696712081f7651 (diff)
parentbeeefb45269f45ea717f58b30a0985951ae23c20 (diff)
merge. pulled in sunshine-stable.
Diffstat (limited to 'indra/llmessage/lltrustedmessageservice.cpp')
-rw-r--r--indra/llmessage/lltrustedmessageservice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llmessage/lltrustedmessageservice.cpp b/indra/llmessage/lltrustedmessageservice.cpp
index 8248b184e9..a67ba35879 100644
--- a/indra/llmessage/lltrustedmessageservice.cpp
+++ b/indra/llmessage/lltrustedmessageservice.cpp
@@ -42,9 +42,9 @@ void LLTrustedMessageService::post(LLHTTPNode::ResponsePtr response,
const LLSD& context,
const LLSD& input) const
{
- std::string name = context["request"]["wildcard"]["message-name"];
- std::string senderIP = context["request"]["remote-host"];
- std::string senderPort = context["request"]["headers"]
+ std::string name = context[CONTEXT_REQUEST][CONTEXT_WILDCARD]["message-name"];
+ std::string senderIP = context[CONTEXT_REQUEST][CONTEXT_REMOTE_HOST];
+ std::string senderPort = context[CONTEXT_REQUEST][CONTEXT_HEADERS]
["x-secondlife-udp-listen-port"];
LLSD message_data;