summaryrefslogtreecommitdiffstats
path: root/src/lru.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:11:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:11:10 +0000
commitcff6d757e3ba609c08ef2aaa00f07e53551e5bf6 (patch)
tree08c4fc3255483ad397d712edb4214ded49149fd9 /src/lru.c
parentAdding upstream version 2.9.7. (diff)
downloadhaproxy-upstream/3.0.0.tar.xz
haproxy-upstream/3.0.0.zip
Adding upstream version 3.0.0.upstream/3.0.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/lru.c')
-rw-r--r--src/lru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lru.c b/src/lru.c
index 07ef50c..bdc232a 100644
--- a/src/lru.c
+++ b/src/lru.c
@@ -258,7 +258,7 @@ static long get_value(struct lru64_head *lru, long a)
/* do the painful work here */
a = sum(a);
if (item)
- lru64_commit(item, (void *)a, lru, 1, 0);
+ lru64_commit(item, (void *)a, lru, 0, 0);
return a;
}