From 503216a9706b98424c3c41eab26f3a44816dc56b Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 30 May 2017 14:11:55 +0300 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 f684e1486..4af8b295d 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -892,6 +892,7 @@ void LP_mainloop(struct LP_peerinfo *mypeer,uint16_t mypubport,int32_t pubsock,i free(retstr); } portable_mutex_unlock(&LP_commandmutex); + printf("subloop.(%s)\n",jprint(argjson,0)); free_json(argjson); } else printf("error parsing.(%s)\n",(char *)ptr); if ( ptr != 0 ) @@ -899,7 +900,7 @@ void LP_mainloop(struct LP_peerinfo *mypeer,uint16_t mypubport,int32_t pubsock,i } } if ( nonz == 0 ) - sleep(n + 1); + sleep(1); } } else