From 092c71c3aa79c6a0b6374c42f9cbcfc449f1237d Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 2 Apr 2018 14:19:38 +0300 Subject: [PATCH] Test --- iguana/exchanges/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/stats.c b/iguana/exchanges/stats.c index 140753f6d..cdce20561 100644 --- a/iguana/exchanges/stats.c +++ b/iguana/exchanges/stats.c @@ -862,7 +862,7 @@ void stats_rpcloop(void *args) req->sock = sock; req->ipbits = ipbits; req->port = port; - if ( spawned > 1 ) + if ( spawned > 0 ) LP_rpc_processreq(req); // this might lead to "cant open file errors" else if ( (retval= OS_thread_create(&req->T,NULL,(void *)LP_rpc_processreq,req)) != 0 )