Code clean up.
* Removed LLCurlRequest and replaced it's last usage with LLHTTPClient API calls. * Deleted dead code. * Renamed all the get4/post4/put4/getByteRange4 etc, back to their original name without the '4'.
This commit is contained in:
@@ -881,14 +881,14 @@ void LLFloaterReporter::sendReportViaCaps(std::string url, std::string sshot_url
|
||||
if(childGetValue("screen_check").asBoolean() && !sshot_url.empty())
|
||||
{
|
||||
// try to upload screenshot
|
||||
LLHTTPClient::post4(sshot_url, report, new LLUserReportScreenshotResponder(report,
|
||||
LLHTTPClient::post(sshot_url, report, new LLUserReportScreenshotResponder(report,
|
||||
mResourceDatap->mAssetInfo.mUuid,
|
||||
mResourceDatap->mAssetInfo.mType));
|
||||
}
|
||||
else
|
||||
{
|
||||
// screenshot not wanted or we don't have screenshot cap
|
||||
LLHTTPClient::post4(url, report, new LLUserReportResponder);
|
||||
LLHTTPClient::post(url, report, new LLUserReportResponder);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user