Browse Source

Forgot to set return value in read_socket_line

master
ckolivas 11 years ago
parent
commit
a092fd91a4
  1. 2
      src/ckpool.c

2
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) {

Loading…
Cancel
Save