From 690c9c5d2f77b084a160369a5efe2dc23e220861 Mon Sep 17 00:00:00 2001 From: Roie Rachamim Date: Fri, 29 Jul 2022 23:16:33 +0000 Subject: [PATCH] Use ThisCache2 buffer size when filling ThisCache2 buffer (#1102) --- src/cache_cf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cache_cf.cc b/src/cache_cf.cc index cb746dc93c..1bae8d3439 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -720,7 +720,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); -- 2.47.2