From 971c012b645e67767f6bd9d42da4a34d200ced22 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 8fabfebd16..5505f84cf4 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -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); -- 2.47.3