From b21cc7176d440a17cf66839d136ea78df8c392fa Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 30 Apr 2015 09:20:41 +1000 Subject: [PATCH] Check for proxy sending being set as well --- src/generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generator.c b/src/generator.c index bd49dadb..4fdd09da 100644 --- a/src/generator.c +++ b/src/generator.c @@ -1539,7 +1539,7 @@ static void send_json_msgq(gdata_t *gdata, cs_msg_t **csmsgq) /* Only try to send one message at a time to each proxy * to avoid sending parts of different messages */ - if (proxy->sending != csmsg) + if (proxy->sending && proxy->sending != csmsg) continue; while (csmsg->len) { int fd;