]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/dns/rfc2671.cc
Maintenance: Removed most NULLs using modernize-use-nullptr (#1075)
[thirdparty/squid.git] / src / dns / rfc2671.cc
index efcb90728823229d67a6130b30206b645aa905b4..3fcff996338d7382e16a9fc82154cb19c246e797 100644 (file)
@@ -21,7 +21,7 @@ rfc2671RROptPack(char *buf, size_t sz, ssize_t edns_sz)
     opt.type = RFC1035_TYPE_OPT;
     opt._class = min(edns_sz, (ssize_t)SQUID_UDP_SO_RCVBUF-1);
     opt.ttl = 0; // relevant?
-    opt.rdata = NULL;
+    opt.rdata = nullptr;
     opt.rdlength = 0;
 
     return rfc1035RRPack(buf, sz, &opt);