]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Use ThisCache2 buffer size when filling ThisCache2 buffer (#1102)
authorRoie Rachamim <roierachamim@gmail.com>
Fri, 29 Jul 2022 23:16:33 +0000 (23:16 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 29 Jul 2022 23:16:36 +0000 (23:16 +0000)
src/cache_cf.cc

index 8fabfebd16143b0567874444f058a202a256e5e8..5505f84cf47024b3a2836a1f241b02ec110f3f0c 100644 (file)
@@ -784,7 +784,7 @@ configDoConfigure(void)
      * the extra space is for loop detection in client_side.c -- we search
      * for substrings in the Via header.
      */
-    snprintf(ThisCache2, sizeof(ThisCache), " %s (%s)",
+    snprintf(ThisCache2, sizeof(ThisCache2), " %s (%s)",
              uniqueHostname(),
              visible_appname_string);