Skip to content

Commit

Permalink
Merge pull request #10737 from TD-er/patch-2
Browse files Browse the repository at this point in the history
[NetworkClient] Init members of NetworkClient
  • Loading branch information
me-no-dev authored Dec 16, 2024
2 parents 6005b15 + 8479b4c commit 0515264
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions libraries/Network/src/NetworkClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ class ESPLwIPClient : public Client {

class NetworkClient : public ESPLwIPClient {
protected:
std::shared_ptr<NetworkClientSocketHandle> clientSocketHandle;
std::shared_ptr<NetworkClientRxBuffer> _rxBuffer;
bool _connected;
bool _sse;
std::shared_ptr<NetworkClientSocketHandle> clientSocketHandle = nullptr;
std::shared_ptr<NetworkClientRxBuffer> _rxBuffer = nullptr;
bool _connected = false;
bool _sse = false;
int _timeout;
int _lastWriteTimeout;
int _lastReadTimeout;
int _lastWriteTimeout = 0;
int _lastReadTimeout = 0;

public:
NetworkClient *next;
Expand Down

0 comments on commit 0515264

Please sign in to comment.