ithewei 3 年 前
コミット
8fd47be8db
1 ファイル変更1 行追加1 行削除
  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() {