]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Ensure last is set when deleting events.
authorRoy Marples <roy@marples.name>
Thu, 4 Sep 2008 22:02:57 +0000 (22:02 +0000)
committerRoy Marples <roy@marples.name>
Thu, 4 Sep 2008 22:02:57 +0000 (22:02 +0000)
eloop.c

diff --git a/eloop.c b/eloop.c
index 1fa75bc4109d0c3deae5eee51fd66bfbe94fc077..981d8eefc259cf38129dafeab764203c02ebd217 100644 (file)
--- a/eloop.c
+++ b/eloop.c
@@ -236,6 +236,7 @@ delete_timeouts(void *arg,
                                continue;
                        }
                }
+               last = t;
        }
 }