diff --git a/src/ckpool.c b/src/ckpool.c index 11da8ea1..0e301b4c 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -248,7 +248,7 @@ int read_socket_line(connsock_t *cs, int timeout) while (42) { char readbuf[PAGESIZE] = {}; - wait_read_select(cs->fd, eom ? 0 : timeout); + ret = wait_read_select(cs->fd, eom ? 0 : timeout); if (eom && !ret) break; if (ret < 1) {