diff options
author | dolphin <dolphin@lindenlab.com> | 2014-06-27 12:57:16 -0700 |
---|---|---|
committer | dolphin <dolphin@lindenlab.com> | 2014-06-27 12:57:16 -0700 |
commit | dd309984d7566710b9ceaf8f6edf2de1672f4f9c (patch) | |
tree | 41d0b99eceeb52d4b05dfe10877e1b0b2b70fd90 /indra/newview/llexperienceassociationresponder.cpp | |
parent | 74634fb9dae5280c5a020b25f027a6f910053feb (diff) | |
parent | f80a41cf36f023aa0b5a7368d81dd237dafc8d4a (diff) |
Merge
Diffstat (limited to 'indra/newview/llexperienceassociationresponder.cpp')
-rw-r--r-- | indra/newview/llexperienceassociationresponder.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/indra/newview/llexperienceassociationresponder.cpp b/indra/newview/llexperienceassociationresponder.cpp index 33ada4906d..b50c81eedc 100644 --- a/indra/newview/llexperienceassociationresponder.cpp +++ b/indra/newview/llexperienceassociationresponder.cpp @@ -61,19 +61,19 @@ void ExperienceAssociationResponder::fetchAssociatedExperience(LLSD& request, ca } } -void ExperienceAssociationResponder::error( U32 status, const std::string& reason ) +void ExperienceAssociationResponder::httpFailure() { LLSD msg; - msg["error"]=(LLSD::Integer)status; - msg["message"]=reason; - LL_INFOS("ExperienceAssociation") << "Failed to look up associated experience: " << status << ": " << reason << LL_ENDL; + msg["error"]=(LLSD::Integer)getStatus(); + msg["message"]=getReason(); + LL_INFOS("ExperienceAssociation") << "Failed to look up associated experience: " << getStatus() << ": " << getReason() << LL_ENDL; sendResult(msg); } -void ExperienceAssociationResponder::result( const LLSD& content ) +void ExperienceAssociationResponder::httpSuccess() { - if(!content.has("experience")) + if(!getContent().has("experience")) { LLSD msg; @@ -83,7 +83,7 @@ void ExperienceAssociationResponder::result( const LLSD& content ) return; } - LLExperienceCache::get(content["experience"].asUUID(), boost::bind(&ExperienceAssociationResponder::sendResult, this, _1)); + LLExperienceCache::get(getContent()["experience"].asUUID(), boost::bind(&ExperienceAssociationResponder::sendResult, this, _1)); } |