File: 0007-agent-Fix-the-previous-commit.patch

package info (click to toggle)
gnupg2 2.4.8-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 49,012 kB
  • sloc: ansic: 287,593; sh: 7,938; lisp: 6,735; makefile: 1,982; awk: 160; xml: 53; python: 16; sed: 16; php: 14; perl: 13
file content (28 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: NIIBE Yutaka <gniibe@fsij.org>
Date: Fri, 1 Sep 2023 11:00:44 +0900
Subject: [PATCH 7/9] 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>
---
 agent/cache.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/agent/cache.c b/agent/cache.c
index 9ed3cb1..16a21bd 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