From eec886520570e6a043e02c770c774ef6938ece1b Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 8 Nov 2017 18:32:21 +0200 Subject: [PATCH] Test --- iguana/exchanges/stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/stats.c b/iguana/exchanges/stats.c index d3b286f22..65fcb0a24 100644 --- a/iguana/exchanges/stats.c +++ b/iguana/exchanges/stats.c @@ -668,9 +668,9 @@ void LP_rpc_processreq(void *_ptr) if ( recvlen > 0 ) { jsonflag = postflag = 0; - //portable_mutex_lock(&LP_commandmutex); + portable_mutex_lock(&LP_commandmutex); retstr = stats_rpcparse(space,size,&jsonflag,&postflag,jsonbuf,remoteaddr,filetype,RPC_port); - //portable_mutex_unlock(&LP_commandmutex); + portable_mutex_unlock(&LP_commandmutex); if ( filetype[0] != 0 ) { static cJSON *mimejson; char *tmp,*typestr=0; long tmpsize;