From c85d66faca508d0e0085d26d2ff7fec1a7189d57 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 21 Oct 2017 23:40:15 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 2a2258996..e55b04644 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -695,14 +695,14 @@ int32_t LP_reserved_msgs() #endif LP_broadcast_message(LP_mypubsock,"","",zero,Reserved_msgs[num_Reserved_msgs]); Reserved_msgs[num_Reserved_msgs] = 0; - n++; - if ( n > 0 ) - break; #ifdef __APPLE__ usleep(5000); #else usleep(1000); #endif + n++; + if ( n > 0 ) + break; } portable_mutex_unlock(&LP_reservedmutex); return(n);