diff --git a/src/TinyGsmClientSaraR4.h b/src/TinyGsmClientSaraR4.h index 247b920..42bc8ea 100644 --- a/src/TinyGsmClientSaraR4.h +++ b/src/TinyGsmClientSaraR4.h @@ -632,7 +632,7 @@ protected: } else if (res == 3) { streamSkipUntil('\n'); // Skip the error text } - if (!result) + if (!result) { sockets[mux]->sock_connected = modemGetConnected(mux); } return result;