From f8651e0e312105f785be05e115a45c012640a4b4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 6 Nov 2017 11:37:32 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_network.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index e869759b2..64f1905bc 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -283,9 +283,9 @@ void gc_loop(void *arg) flag++; } portable_mutex_unlock(&LP_gcmutex); - if ( flag == 0 ) - sleep(1); - else printf("gc_loop.%d\n",flag); + if ( flag != 0 ) + printf("gc_loop.%d\n",flag); + sleep(1); } }