We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 05feca5 + 209f419 commit 6c6edcfCopy full SHA for 6c6edcf
libraries/lwIpWrapper/src/lwipClient.cpp
@@ -243,7 +243,7 @@ uint8_t lwipClient::status()
243
lwipClient::operator bool()
244
{
245
/* -------------------------------------------------------------------------- */
246
- return (_tcp_client && (_tcp_client->state != TCP_CLOSING));
+ return (_tcp_client != nullptr);
247
}
248
249
0 commit comments