From c1ee2388fd0bb63afe78071b60c9d84a20527df2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 17 Jun 2017 12:49:44 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index db9d0eaee..40e8f7154 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -24,7 +24,7 @@ char *stats_JSON(char *myipaddr,int32_t pubsock,double profitmargin,cJSON *argjs char *method,*ipaddr,*userpass,*base,*rel,*coin,*retstr = 0; uint16_t argport=0,pushport,subport; int32_t otherpeers,othernumutxos,flag = 0; struct LP_peerinfo *peer; cJSON *retjson; struct iguana_info *ptr; if ( (ipaddr= jstr(argjson,"ipaddr")) != 0 && (argport= juint(argjson,"port")) != 0 ) { - if ( strcmp(ipaddr,"127.0.0.1") != 0 && port >= 1000 ) + if ( strcmp(ipaddr,"127.0.0.1") != 0 && argport >= 1000 ) { flag = 1; if ( (pushport= juint(argjson,"push")) == 0 )