ci(pre-commit): Apply automatic fixes

This commit is contained in:
pre-commit-ci-lite[bot] 2024-12-13 13:45:07 +00:00 committed by GitHub
parent c562aeceda
commit 8b77d91b69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -187,7 +187,7 @@ bool WebServer::_parseRequest(NetworkClient &client) {
_currentRaw->status = RAW_WRITE;
while (_currentRaw->totalSize < _clientContentLength) {
size_t read_len = std::min(_clientContentLength - _currentRaw->totalSize, (size_t) HTTP_RAW_BUFLEN);
size_t read_len = std::min(_clientContentLength - _currentRaw->totalSize, (size_t)HTTP_RAW_BUFLEN);
_currentRaw->currentSize = client.readBytes(_currentRaw->buf, read_len);
_currentRaw->totalSize += _currentRaw->currentSize;
if (_currentRaw->currentSize == 0) {