From e744037026317ea01c559b15ede9d2b3b45282f7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 8 Nov 2017 00:36:07 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 3190d9475..b54ba272f 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -1192,11 +1192,12 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,uint16_t mybu { if ( (hellostr= jstr(retjson,"status")) != 0 && strcmp(hellostr,"") == 0 ) allgood = 1, printf("allgood.(%s)\n",retstr); + else printf("strange return.(%s)\n",jprint(retjson,0)); free_json(retjson); } else printf("couldnt parse hello return.(%s)\n",retstr); free(retstr); } else printf("issue_hello NULL return\n"); - if ( allgood == 0 ) + if ( 0 && allgood == 0 ) { printf("RPC port got stuck, kick it\n"); LP_bindsock = -1;