Skip to content

Commit 4eb25a7

Browse files
committed
Actually return the connected status :)
1 parent 8bb4f74 commit 4eb25a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HttpClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ class HttpClient : public Client
370370
virtual int connect(IPAddress ip, uint16_t port) { return iClient->connect(ip, port); };
371371
virtual int connect(const char *host, uint16_t port) { return iClient->connect(host, port); };
372372
virtual void stop();
373-
virtual uint8_t connected() { iClient->connected(); };
373+
virtual uint8_t connected() { return iClient->connected(); };
374374
virtual operator bool() { return bool(iClient); };
375375
protected:
376376
/** Reset internal state data back to the "just initialised" state

0 commit comments

Comments
 (0)