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 <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2023-09-01 11:00:44 +09:00
parent 92de0387f0
commit 57125d3f5a
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054
1 changed files with 0 additions and 3 deletions

View File

@ -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