]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/log/access_log.cc
NoNewGlobals for Adaptation::Config::metaHeaders (#1747)
[thirdparty/squid.git] / src / log / access_log.cc
index 4dcc6f659a92b7098f73664bd92b182fcbe43931..ff01005f4658230fc266bc5c4b84de4c84de9219 100644 (file)
@@ -338,7 +338,7 @@ accessLogInit(void)
                     curr_token->type == Format::LFT_ADAPTATION_LAST_HEADER ||
                     curr_token->type == Format::LFT_ADAPTATION_LAST_HEADER_ELEM ||
                     curr_token->type == Format::LFT_ADAPTATION_LAST_ALL_HEADERS||
-                    (curr_token->type == Format::LFT_NOTE && !Adaptation::Config::metaHeaders.empty())) {
+                    (curr_token->type == Format::LFT_NOTE && !Adaptation::Config::metaHeaders().empty())) {
                 Log::TheConfig.hasAdaptToken = true;
             }
 #if ICAP_CLIENT