/*
- * 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;
// \todo add "name" if the set is used for more than just half-closed FDs
os << size_ << " FDs";
}
+