]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1166: Configuration confusing when empty acls are encountered
authorhno <>
Sun, 8 May 2005 12:42:10 +0000 (12:42 +0000)
committerhno <>
Sun, 8 May 2005 12:42:10 +0000 (12:42 +0000)
Warn on empty proxy_auth acls.

src/ACLProxyAuth.cc

index 2e35615afdc2078aa40da864966e3cddc961cb8c..c0a456f5e95118aaac723e2f4b89bb56b2414612 100644 (file)
@@ -97,7 +97,7 @@ ACLProxyAuth::dump() const
 bool
 ACLProxyAuth::empty () const
 {
-    return data == NULL;
+    return data->empty();
 }
 
 bool