[TinyMqtt] Fix obsolete warning

This commit is contained in:
Francois BIOT
2023-02-20 03:22:50 +01:00
parent 9228408f57
commit 00333ed805

View File

@@ -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)
{