1
0
mirror of https://github.com/arduino-libraries/ArduinoHttpClient.git synced 2025-04-19 21:22:15 +03:00

Make white space consistent

This commit is contained in:
Sandeep Mistry 2016-06-17 11:09:14 -04:00
parent 3beefd981a
commit 777b561cc5

View File

@ -375,11 +375,11 @@ int HttpClient::read()
if (ret >= 0) if (ret >= 0)
{ {
if (endOfHeadersReached() && iContentLength > 0) if (endOfHeadersReached() && iContentLength > 0)
{ {
// We're outputting the body now and we've seen a Content-Length header // We're outputting the body now and we've seen a Content-Length header
// So keep track of how many bytes are left // So keep track of how many bytes are left
iBodyLengthConsumed++; iBodyLengthConsumed++;
} }
} }
return ret; return ret;
#endif #endif
@ -393,9 +393,9 @@ int HttpClient::read(uint8_t *buf, size_t size)
// We're outputting the body now and we've seen a Content-Length header // We're outputting the body now and we've seen a Content-Length header
// So keep track of how many bytes are left // So keep track of how many bytes are left
if (ret >= 0) if (ret >= 0)
{ {
iBodyLengthConsumed += ret; iBodyLengthConsumed += ret;
} }
} }
return ret; return ret;
} }