From 00333ed80570d8857f118220fac2114c278c6079 Mon Sep 17 00:00:00 2001 From: Francois BIOT Date: Mon, 20 Feb 2023 03:22:50 +0100 Subject: [PATCH] [TinyMqtt] Fix obsolete warning --- src/TinyMqtt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TinyMqtt.cpp b/src/TinyMqtt.cpp index 8ef3fbe..4887e3a 100644 --- a/src/TinyMqtt.cpp +++ b/src/TinyMqtt.cpp @@ -170,7 +170,7 @@ void MqttBroker::onClient(void* broker_ptr, TcpClient* client) void MqttBroker::loop() { #ifndef TINY_MQTT_ASYNC - WiFiClient client = server->available(); + WiFiClient client = server->accept(); if (client) {