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