From d6a190b0143e409da3fdf910859e1ad52568d101 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 21 Feb 2017 16:41:53 +1100 Subject: [PATCH] Set message to false after parsing. --- src/generator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generator.c b/src/generator.c index d1b90ca0..85705a47 100644 --- a/src/generator.c +++ b/src/generator.c @@ -2321,6 +2321,7 @@ static void *proxy_recv(void *arg) /* Parse any other messages already fully buffered with a zero * timeout. */ while (message || read_socket_line(cs, &timeout) > 0) { + message = false; timeout = 0; /* subproxy may have been recycled here if it is not a * parent and reconnect was issued */