]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorSource Maintenance <squidadm@squid-cache.org>
Wed, 7 Jun 2017 18:12:14 +0000 (18:12 +0000)
committerSource Maintenance <squidadm@squid-cache.org>
Wed, 7 Jun 2017 18:12:14 +0000 (18:12 +0000)
src/log/Config.cc

index 359f84202f602b581c72cc1b9c70c754173b9332..a1ed0fe0b549ba82b897da9646af47ea77603430 100644 (file)
@@ -26,10 +26,10 @@ Log::LogConfig::parseFormats()
 
     // check for re-definition of built-in formats
     if (strcmp(name, "squid") == 0 ||
-        strcmp(name, "common") == 0 ||
-        strcmp(name, "combined") == 0 ||
-        strcmp(name, "useragent") == 0 ||
-        strcmp(name, "referrer") == 0) {
+            strcmp(name, "common") == 0 ||
+            strcmp(name, "combined") == 0 ||
+            strcmp(name, "useragent") == 0 ||
+            strcmp(name, "referrer") == 0) {
         debugs(3, DBG_PARSE_NOTE(DBG_IMPORTANT), "ERROR: logformat " << name << " is already defined. Ignoring.");
         return;
     }