]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/acl/DomainData.cc
Maintenance: Removed most NULLs using modernize-use-nullptr (#1075)
[thirdparty/squid.git] / src / acl / DomainData.cc
index 90726f6e9d0055b8cbddf51d0c4e52562a6a3a5b..fe29bcb9b5c24412e2c0c10da538b889b75ae761 100644 (file)
@@ -104,7 +104,7 @@ aclDomainCompare(T const &a, T const &b)
 bool
 ACLDomainData::match(char const *host)
 {
-    if (host == NULL)
+    if (host == nullptr)
         return 0;
 
     debugs(28, 3, "aclMatchDomainList: checking '" << host << "'");
@@ -114,7 +114,7 @@ ACLDomainData::match(char const *host)
 
     debugs(28, 3, "aclMatchDomainList: '" << host << "' " << (result ? "found" : "NOT found"));
 
-    return (result != NULL);
+    return (result != nullptr);
 }
 
 struct AclDomainDataDumpVisitor {