nsxiv1ae06ff
Next try to fix issue #71
+2 −2
2 files changed
| @@ -1,4 +1,4 @@ | |||
| 1 | − | VERSION = git-20120829 | |
| 1 | + | VERSION = git-20120831 | |
| 2 | 2 | ||
| 3 | 3 | PREFIX = /usr/local | |
| 4 | 4 | MANPREFIX = $(PREFIX)/share/man | |
| @@ -182,9 +182,9 @@ bool check_timeouts(struct timeval *t) { | |||
| 182 | 182 | int i = 0, tdiff, tmin = -1; | |
| 183 | 183 | struct timeval now; | |
| 184 | 184 | ||
| 185 | − | gettimeofday(&now, 0); | |
| 186 | 185 | while (i < ARRLEN(timeouts)) { | |
| 187 | 186 | if (timeouts[i].active) { | |
| 187 | + | gettimeofday(&now, 0); | |
| 188 | 188 | tdiff = TV_DIFF(&timeouts[i].when, &now); | |
| 189 | 189 | if (tdiff <= 0) { | |
| 190 | 190 | timeouts[i].active = false; | |