1
0
mirror of https://github.com/adafruit/Adafruit_MQTT_Library.git synced 2025-06-11 22:48:09 +03:00

rename all subclass diconnect() to disconnectServer()

This commit is contained in:
Todd Treece
2015-10-05 14:18:49 -04:00
parent 4ab72be73e
commit aa6db4d5f5
4 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ bool Adafruit_MQTT_Client::connectServer() {
return r != 0;
}
bool Adafruit_MQTT_Client::disconnect() {
bool Adafruit_MQTT_Client::disconnectServer() {
// Stop connection if connected and return success (stop has no indication of
// failure).
if (client->connected()) {