ithewei hace 3 años
padre
commit
8fd47be8db
Se han modificado 1 ficheros con 1 adiciones y 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() {