diff --git a/iguana/exchanges/stats.c b/iguana/exchanges/stats.c index 507aafb22..27dda90ba 100644 --- a/iguana/exchanges/stats.c +++ b/iguana/exchanges/stats.c @@ -627,9 +627,9 @@ void LP_rpc_processreq(void *_ptr) if ( recvlen > 0 ) { jsonflag = postflag = 0; - printf("RPC.(%s)\n",jsonbuf); portable_mutex_lock(&LP_commandmutex); retstr = stats_rpcparse(space,size,&jsonflag,&postflag,jsonbuf,remoteaddr,filetype,RPC_port); + printf("RPC.(%s)%s\n",jsonbuf,retstr); portable_mutex_unlock(&LP_commandmutex); if ( filetype[0] != 0 ) {