HTTPClientWrapper: Initialize buffer variables. D'Oh.
This commit is contained in:
1 parent
38d48ab0e4
commit
a8d19cd6e1
1 file changed
+3
@@ -72,6 +72,9 @@ bool HTTPClientWrapper::_request(String method, String url, uint32_t offset, uin
|
||||
DEBUG("Unexpected HTTP return code %d. Cancelling.\n", status);
|
||||
return false;
|
||||
}
|
||||
|
||||
_buffer_position = 0;
|
||||
_buffer_length = 0;
|
||||
|
||||
_connected = true;
|
||||
_length = _http->getSize() + offset;
|
||||
|
||||
Reference in new issue
Block a user