ithewei %!s(int64=3) %!d(string=hai) anos
pai
achega
8fd47be8db
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mqtt/mqtt_client.h

+ 1 - 1
mqtt/mqtt_client.h

@@ -203,7 +203,7 @@ public:
     }
 
     int connect(const char* host, int port = DEFAULT_MQTT_PORT, int ssl = 0) {
-        return mqtt_client_connect(client, host, port);
+        return mqtt_client_connect(client, host, port, ssl);
     }
 
     int reconnect() {