1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

add missing return HTTPC_ERROR_STREAM_WRITE

This commit is contained in:
Markus Sattler
2015-12-31 15:00:00 +01:00
parent ef748e369a
commit 1ab74c1c76

View File

@ -985,6 +985,7 @@ int HTTPClient::writeToStreamDataBlock(Stream * stream, int size) {
if((size > 0) && (size != bytesWritten)) {
DEBUG_HTTPCLIENT("[HTTP-Client][writeToStreamDataBlock] bytesWritten %d and size %d mismatch!.\n", bytesWritten, size);
return HTTPC_ERROR_STREAM_WRITE;
}
} else {