From 11e8bd77e25e6588f00048d16cc0d5e7a824102e Mon Sep 17 00:00:00 2001 From: Otto winter Date: Thu, 3 Feb 2022 09:16:46 +0100 Subject: [PATCH] Lint --- esphome/components/socket/lwip_getaddrinfo_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/socket/lwip_getaddrinfo_impl.cpp b/esphome/components/socket/lwip_getaddrinfo_impl.cpp index d4fb1fdc7d..d37087ad11 100644 --- a/esphome/components/socket/lwip_getaddrinfo_impl.cpp +++ b/esphome/components/socket/lwip_getaddrinfo_impl.cpp @@ -178,7 +178,7 @@ std::unique_ptr getaddrinfo_async(const char *node, const cha #ifdef USE_ESP8266 void freeaddrinfo(struct addrinfo *ai) { - while (ai != NULL) { + while (ai != nullptr) { struct addrinfo *next = ai->ai_next; delete ai; ai = next;