summaryrefslogtreecommitdiff
path: root/indra/newview/llexperienceassociationresponder.cpp
diff options
context:
space:
mode:
authordolphin <dolphin@lindenlab.com>2014-06-27 12:57:16 -0700
committerdolphin <dolphin@lindenlab.com>2014-06-27 12:57:16 -0700
commitdd309984d7566710b9ceaf8f6edf2de1672f4f9c (patch)
tree41d0b99eceeb52d4b05dfe10877e1b0b2b70fd90 /indra/newview/llexperienceassociationresponder.cpp
parent74634fb9dae5280c5a020b25f027a6f910053feb (diff)
parentf80a41cf36f023aa0b5a7368d81dd237dafc8d4a (diff)
Merge
Diffstat (limited to 'indra/newview/llexperienceassociationresponder.cpp')
-rw-r--r--indra/newview/llexperienceassociationresponder.cpp14
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));
}