diff options
author | Bert Münnich <be.muennich@gmail.com> | 2012-10-31 23:24:21 +0100 |
---|---|---|
committer | Bert Münnich <be.muennich@gmail.com> | 2012-10-31 23:24:21 +0100 |
commit | 1ae06ffd0977ecab52d0027b6fefaf3677d0475d (patch) | |
tree | 8acf3988679dc1733795f78a3314e5211f4fdb34 | |
parent | 5dbf1b8eb9d7e9fe6bb7ea8b526e58d77dcf48f8 (diff) |
Next try to fix issue #71
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | main.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -VERSION = git-20120829 +VERSION = git-20120831 PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man @@ -182,9 +182,9 @@ bool check_timeouts(struct timeval *t) { int i = 0, tdiff, tmin = -1; struct timeval now; - gettimeofday(&now, 0); while (i < ARRLEN(timeouts)) { if (timeouts[i].active) { + gettimeofday(&now, 0); tdiff = TV_DIFF(&timeouts[i].when, &now); if (tdiff <= 0) { timeouts[i].active = false; |