diff options
author | Rider Linden <rider@lindenlab.com> | 2015-06-03 11:21:19 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-06-03 11:21:19 -0700 |
commit | bd3dc9cfe24ffc433783201e854f00bbd07aed54 (patch) | |
tree | 4652f35af0b61181142e96b1438978b4dcce0c5c /indra/newview/llfloaterauction.cpp | |
parent | 2abfc14946dc7c544e74931cfe1df887e508a936 (diff) |
Coroutines for Script info floater and land auction prep.
Diffstat (limited to 'indra/newview/llfloaterauction.cpp')
-rwxr-xr-x | indra/newview/llfloaterauction.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/indra/newview/llfloaterauction.cpp b/indra/newview/llfloaterauction.cpp index 51b59a7a74..fbffb81fcc 100755 --- a/indra/newview/llfloaterauction.cpp +++ b/indra/newview/llfloaterauction.cpp @@ -57,6 +57,7 @@ #include "llsdutil.h" #include "llsdutil_math.h" #include "lltrans.h" +#include "llcorehttputil.h" ///---------------------------------------------------------------------------- /// Local function declarations, constants, enums, and typedefs @@ -361,7 +362,10 @@ void LLFloaterAuction::doResetParcel() LL_INFOS() << "Sending parcel update to reset for auction via capability to: " << mParcelUpdateCapUrl << LL_ENDL; - LLHTTPClient::post(mParcelUpdateCapUrl, body, new LLHTTPClient::Responder()); + + LLCoreHttpUtil::HttpCoroutineAdapter::messageHttpPost(mParcelUpdateCapUrl, body, + "Parcel reset for auction", + "Parcel not set for auction."); // Send a message to clear the object return time LLMessageSystem *msg = gMessageSystem; @@ -511,7 +515,10 @@ void LLFloaterAuction::doSellToAnyone() LL_INFOS() << "Sending parcel update to sell to anyone for L$1 via capability to: " << mParcelUpdateCapUrl << LL_ENDL; - LLHTTPClient::post(mParcelUpdateCapUrl, body, new LLHTTPClient::Responder()); + + LLCoreHttpUtil::HttpCoroutineAdapter::messageHttpPost(mParcelUpdateCapUrl, body, + "Parcel set as sell to everyone.", + "Parcel sell to everyone failed."); // clean up floater, and get out cleanupAndClose(); |