mirror of
https://github.com/esphome/esphome.git
synced 2025-02-28 15:58:16 +00:00
Lint
This commit is contained in:
parent
a39b2c4ac7
commit
11e8bd77e2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user