Browse Source

Fix timeout in read_socket_line inappropriately running out

master
Con Kolivas 9 years ago
parent
commit
5a3183cf04
  1. 1
      src/ckpool.c

1
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] = {};

Loading…
Cancel
Save