ithewei 3 lat temu
rodzic
commit
8fd47be8db
1 zmienionych plików z 1 dodań i 1 usunięć
  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() {