From: Source Maintenance Date: Wed, 7 Jun 2017 18:12:14 +0000 (+0000) Subject: SourceFormat Enforcement X-Git-Tag: M-staged-PR71~137 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f9c1f036f5b2e66b6496deb8d250fd10314ed98;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/log/Config.cc b/src/log/Config.cc index 359f84202f..a1ed0fe0b5 100644 --- a/src/log/Config.cc +++ b/src/log/Config.cc @@ -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; }