Merge branch 'develop' for release v3.25.2

This commit is contained in:
emeric
2021-04-28 16:47:01 +02:00
2 changed files with 2 additions and 2 deletions
@@ -188,7 +188,7 @@ namespace Scrobbling
{ {
LOG(INFO) << "Starting ListenBrainz scrobbler... API endpoint = '" << _apiEndpoint << "'"; LOG(INFO) << "Starting ListenBrainz scrobbler... API endpoint = '" << _apiEndpoint << "'";
_client.done().connect([this](Wt::AsioWrapper::error_code ec, Wt::Http::Message msg) _client.done().connect([this](Wt::AsioWrapper::error_code ec, const Wt::Http::Message& msg)
{ {
onClientDone(ec, msg); onClientDone(ec, msg);
}); });
+1 -1
View File
@@ -67,7 +67,7 @@ DownloadResource::handleRequest(const Wt::Http::Request& request, Wt::Http::Resp
return; return;
std::array<std::byte, bufferSize> buffer; std::array<std::byte, bufferSize> buffer;
std::size_t nbWrittenBytes {zipper->writeSome(buffer.data(), buffer.size())}; Zip::SizeType nbWrittenBytes {zipper->writeSome(buffer.data(), buffer.size())};
response.out().write(reinterpret_cast<const char *>(buffer.data()), nbWrittenBytes); response.out().write(reinterpret_cast<const char *>(buffer.data()), nbWrittenBytes);