aboutsummaryrefslogtreecommitdiffstats
path: root/agent/cache.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2023-09-01 02:00:44 +0000
committerNIIBE Yutaka <[email protected]>2023-09-01 02:00:44 +0000
commit57125d3f5a3fcef1b7730bd5685162f485e4e95d (patch)
tree814beb13b1815a4bfce410d547af0378ab2308f6 /agent/cache.c
parentagent: Introduce management of timer to expire cache entries. (diff)
downloadgnupg-57125d3f5a3fcef1b7730bd5685162f485e4e95d.tar.gz
gnupg-57125d3f5a3fcef1b7730bd5685162f485e4e95d.zip
agent: Fix the previous commit.
* agent/cache.c (remove_from_timer_list_new): Fix cut&paste error. TV_SEC field should not be touched. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/cache.c')
-rw-r--r--agent/cache.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/agent/cache.c b/agent/cache.c
index 9ed3cb195..16a21bd77 100644
--- a/agent/cache.c
+++ b/agent/cache.c
@@ -296,9 +296,6 @@ remove_from_timer_list_new (ITEM entry)
eprev = e;
else
{
- if (e->t.next)
- e->t.next->t.tv_sec += e->t.tv_sec;
-
if (eprev)
eprev->t.next = e->t.next;
else