From c22c69d70d373dbb9beff9e019b070b235a15961 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 23 Nov 2017 19:41:34 +0400 Subject: [PATCH] Test --- iguana/exchanges/LP_commands.c | 2 +- iguana/exchanges/stats.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index 9d1f24462..e8c9c401f 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -38,7 +38,7 @@ char *stats_JSON(void *ctx,char *myipaddr,int32_t pubsock,cJSON *argjson,char *r method = jstr(argjson,"method"); if ( method != 0 && (strcmp(method,"addr_unspents") == 0 || strcmp(method,"uitem") == 0 || strcmp(method,"postutxos") == 0) ) return(0); -printf("stats_JSON.(%s)\n",jprint(argjson,0)); +//printf("stats_JSON.(%s)\n",jprint(argjson,0)); /*if ( (ipaddr= jstr(argjson,"ipaddr")) != 0 && (argport= juint(argjson,"port")) != 0 && (method == 0 || strcmp(method,"electrum") != 0) ) { if ( strcmp(ipaddr,"127.0.0.1") != 0 && argport >= 1000 ) diff --git a/iguana/exchanges/stats.c b/iguana/exchanges/stats.c index 066b98723..a3232b1e6 100644 --- a/iguana/exchanges/stats.c +++ b/iguana/exchanges/stats.c @@ -338,7 +338,7 @@ char *stats_rpcparse(char *retbuf,int32_t bufsize,int32_t *jsonflagp,int32_t *po n = i; //printf("URLMETHOD.(%s)\n",urlmethod); *postflagp = (strcmp(urlmethod,"POST") == 0); - printf("POST.%d rpcparse.(%s)\n",*postflagp,urlstr); + //printf("POST.%d rpcparse.(%s)\n",*postflagp,urlstr); for (i=0; i