]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/ExternalACLEntry.cc
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / ExternalACLEntry.cc
index da8e4af9e37df94f630ea697579f53459910b468..61c3d372729081e6cfd6e4ca352e43fa12444d56 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -17,7 +17,7 @@
  */
 
 ExternalACLEntry::ExternalACLEntry() :
-        notes()
+    notes()
 {
     lru.next = lru.prev = NULL;
     result = ACCESS_DENIED;
@@ -37,7 +37,7 @@ ExternalACLEntry::update(ExternalACLEntryData const &someData)
     result = someData.result;
 
     // replace all notes. not combine
-    notes.entries.clear();
+    notes.clear();
     notes.append(&someData.notes);
 
 #if USE_AUTH
@@ -48,3 +48,4 @@ ExternalACLEntry::update(ExternalACLEntryData const &someData)
     tag = someData.tag;
     log = someData.log;
 }
+