]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/auth/digest/User.cc
Maintenance: Removed most NULLs using modernize-use-nullptr (#1075)
[thirdparty/squid.git] / src / auth / digest / User.cc
index fe81674c6b41191fb717f36784bf330427abdf93..ccf4ff936d8af4dccb4abba73ed3076fda9124eb 100644 (file)
@@ -62,12 +62,12 @@ Auth::Digest::User::ttl() const
 digest_nonce_h *
 Auth::Digest::User::currentNonce()
 {
-    digest_nonce_h *nonce = NULL;
+    digest_nonce_h *nonce = nullptr;
     dlink_node *link = nonces.tail;
     if (link) {
         nonce = static_cast<digest_nonce_h *>(link->data);
         if (authDigestNonceIsStale(nonce))
-            nonce = NULL;
+            nonce = nullptr;
     }
     return nonce;
 }