diff --git a/src/ckpool.c b/src/ckpool.c index 4b5e95f8..6e2f92d1 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -539,6 +539,7 @@ rewait: } tv_time(&now); diff = tvdiff(&now, &start); + copy_tv(&start, &now); *timeout -= diff; while (42) { char readbuf[PAGESIZE] = {};