From 225ea83e33c8e1c4269e0dae92b503fa41d34b5a Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 4 Jan 2016 22:40:29 +1100 Subject: [PATCH] Failure to recv after wait_read_select should be fatal --- src/ckpool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ckpool.c b/src/ckpool.c index 367ee9db..bf9b3351 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -598,6 +598,7 @@ int read_socket_line(connsock_t *cs, float *timeout) LOGINFO("Failed to recv in read_socket_line"); else LOGERR("Failed to recv in read_socket_line"); + ret = -1; goto out; } add_bufline(cs, readbuf, ret);