]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/mgr/QueryParams.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / mgr / QueryParams.cc
index 45cbb033ce0bbc2af46b372cca8ab45c38f2c618..5896fea4cf254005eb94c2ec875f9f55a1bbbf53 100644 (file)
@@ -1,17 +1,19 @@
 /*
- * $Id$
- *
- * DEBUG: section 16    Cache Manager API
+ * Copyright (C) 1996-2017 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.
  */
 
-#include "config.h"
+/* DEBUG: section 16    Cache Manager API */
+
+#include "squid.h"
 #include "base/TextException.h"
 #include "ipc/TypedMsgHdr.h"
 #include "mgr/IntParam.h"
-#include "mgr/StringParam.h"
 #include "mgr/QueryParams.h"
-
+#include "mgr/StringParam.h"
 
 Mgr::QueryParam::Pointer
 Mgr::QueryParams::get(const String& name) const
@@ -123,7 +125,7 @@ Mgr::QueryParams::Parse(const String& aParamsStr, QueryParams& aParams)
 Mgr::QueryParam::Pointer
 Mgr::QueryParams::CreateParam(QueryParam::Type aType)
 {
-    switch(aType) {
+    switch (aType) {
     case QueryParam::ptInt:
         return new IntParam();
 
@@ -136,3 +138,4 @@ Mgr::QueryParams::CreateParam(QueryParam::Type aType)
     }
     return NULL;
 }
+