]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/DescriptorSet.cc
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / DescriptorSet.cc
index 67c5e51aa4187785723ecb29884c2b2fd24b3d53..f1be8d6202260fc7f9295b3a2c519997701bc779 100644 (file)
@@ -1,13 +1,20 @@
 /*
- * DEBUG: section 05    Comm
+ * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
  */
+
+/* DEBUG: section 05    Comm */
+
 #include "squid.h"
 #include "DescriptorSet.h"
 #include "globals.h" /* for Squid_MaxFD */
 
 // pre-allocates descriptor store and index for Squid_MaxFD descriptors
 DescriptorSet::DescriptorSet(): descriptors_(NULL), index_(NULL),
-        capacity_(0), size_(0)
+    capacity_(0), size_(0)
 {
     // we allocate once and never realloc, at least for now
     capacity_ = Squid_MaxFD;
@@ -93,3 +100,4 @@ DescriptorSet::print(std::ostream &os) const
     // \todo add "name" if the set is used for more than just half-closed FDs
     os << size_ << " FDs";
 }
+