From a9e47dad1438263487d829450c160cf46042d40f Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 22 Oct 2017 18:51:39 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 52a4f71d7..834637e93 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -728,8 +728,8 @@ int32_t LP_reserved_msgs() Reserved_msgs[num_Reserved_msgs] = 0; portable_mutex_unlock(&LP_reservedmutex); } - } - if ( ++n > 0 ) + } else break; + if ( ++n > 100 ) break; } return(n);