瀏覽代碼

Next try to fix issue #71

master
Bert Münnich 12 年之前
父節點
當前提交
1ae06ffd09
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      Makefile
  2. +1
    -1
      main.c

+ 1
- 1
Makefile 查看文件

@@ -1,4 +1,4 @@
VERSION = git-20120829
VERSION = git-20120831

PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man


+ 1
- 1
main.c 查看文件

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


Loading…
取消
儲存