From 0cf7a907c322a0ff65fd205c38775a072f32178a Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 13 Mar 2018 17:16:05 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_network.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index 9bacb12ce..5b9c43b7a 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -445,7 +445,7 @@ void LP_commandQ_loop(void *ctx) portable_mutex_unlock(&LP_commandQmutex); if ( ptr->stats_JSONonly < 0 ) // broadcast passthrough { - if ( ptr->responsesock >= 0 ) + if ( 0 && ptr->responsesock >= 0 ) { if ( (result= cJSON_Parse(ptr->msg)) != 0 ) { @@ -475,6 +475,7 @@ void LP_commandQ_loop(void *ctx) jaddnum(retjson,"queueid",ptr->queueid); jadd(retjson,"result",result); retstr = jprint(retjson,1); + printf("send (%s)\n",retstr); } if ( (size= nn_send(ptr->responsesock,retstr,(int32_t)strlen(retstr)+1,0)) <= 0 ) printf("error sending result\n");