mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-11 05:57:05 +03:00
alignment to 4.0 + misc cspot fixes
This commit is contained in:
@@ -34,6 +34,7 @@ namespace bell
|
||||
|
||||
|
||||
bool hasFixedSize = false;
|
||||
std::vector<uint8_t> remainingData;
|
||||
size_t contentLength = -1;
|
||||
size_t currentPos = -1;
|
||||
|
||||
|
||||
@@ -175,7 +175,7 @@ size_t bell::HTTPStream::read(uint8_t *buf, size_t nbytes)
|
||||
|
||||
if (nread < nbytes)
|
||||
{
|
||||
return read(buf + nread, nbytes - nread);
|
||||
return nread + read(buf + nread, nbytes - nread);
|
||||
}
|
||||
return nread;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user