mirror of
https://github.com/esphome/esphome.git
synced 2025-11-01 23:51:47 +00:00
Lint
This commit is contained in:
@@ -178,7 +178,7 @@ std::unique_ptr<GetaddrinfoFuture> 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;
|
||||
|
||||
Reference in New Issue
Block a user