From a092fd91a4d14ee6926c32b4b3de0105d94b5bac Mon Sep 17 00:00:00 2001 From: ckolivas Date: Thu, 26 Jun 2014 15:22:39 +0300 Subject: [PATCH] Forgot to set return value in read_socket_line --- src/ckpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {