From 033dc4dbefed22aab7b58a60e27ce3c86943fe25 Mon Sep 17 00:00:00 2001 From: "M. Huri" Date: Tue, 12 Oct 2021 14:30:55 +0700 Subject: Replaced NULL with nullptr --- drivers/unix/ip_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/unix') diff --git a/drivers/unix/ip_unix.cpp b/drivers/unix/ip_unix.cpp index d32592e81a..42b5bbfaf2 100644 --- a/drivers/unix/ip_unix.cpp +++ b/drivers/unix/ip_unix.cpp @@ -110,7 +110,7 @@ void IPUnix::_resolve_hostname(List &r_addresses, const String &p_hos struct addrinfo *next = result; do { - if (next->ai_addr == NULL) { + if (next->ai_addr == nullptr) { next = next->ai_next; continue; } -- cgit v1.2.3