1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-03 14:24:15 +01:00

Merge pull request #2066 from manuel-rabade/fix-httpclient-ready

Fix HttpClient::ready() return value
This commit is contained in:
Federico Fissore 2014-05-12 13:12:39 +02:00
commit 245d879bf7

View File

@ -43,7 +43,7 @@ void HttpClient::getAsynchronously(const char *url) {
} }
boolean HttpClient::ready() { boolean HttpClient::ready() {
return running(); return !running();
} }
unsigned int HttpClient::getResult() { unsigned int HttpClient::getResult() {