Fix some comments, remove redundant fields etc

This commit is contained in:
Henrik Rydgård committed 2026-06-13 17:44:26 +02:00
1 parent 2604e169e1
commit 96ae36b7dd
6 files changed
+12 -13

No files matched your search

+2 -3
View File
@@ -13,8 +13,7 @@
namespace http {
HTTPSRequest::HTTPSRequest(RequestMethod method, std::string_view url, std::string_view postData, std::string_view postMime, const Path &outfile, RequestFlags flags, std::string_view name)
: Request(method, url, name, &cancelled_, flags), method_(method), postData_(postData), postMime_(postMime) {
outfile_ = outfile;
: Request(method, url, name, outfile, &cancelled_, flags), postData_(postData), postMime_(postMime) {
}
HTTPSRequest::~HTTPSRequest() {
@@ -61,7 +60,7 @@ void HTTPSRequest::Join() {
res_ = nullptr;
req_ = nullptr;
} else {
ERROR_LOG(Log::HTTP, "HTTPSDownload::Join not implemented");
ERROR_LOG(Log::HTTP, "HTTPSRequest::Join called before completion");
}
}