knolleary / pubsubclient

A client library for the Arduino Ethernet Shield that provides support for MQTT.
http://pubsubclient.knolleary.net/
MIT License
3.78k stars 1.46k forks source link

Quick fix for Arduino R4 #1022

Open slviajero opened 11 months ago

slviajero commented 11 months ago

fixed the problem with missing strnlen on Arduino R4 Wifi by adding strnlen into PubSubClient.h and PubSubClient.cpp only for this platform. This is ugly but works.

slviajero commented 11 months ago

In the meantime, a way to fix this in Arduino platform.txt has been found. Probably not needed any more.