jl777 7 years ago
parent
commit
092c71c3aa
  1. 2
      iguana/exchanges/stats.c

2
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 )

Loading…
Cancel
Save