From a2c0b77289eea3bd826182b4c708b0a231821d42 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 5 Feb 2018 19:34:34 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_network.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index eb257aed7..b632e470d 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -486,7 +486,8 @@ void mynn_close(int32_t sock) printf("cant send to nn_close(%d)\n",sock); sleep(1); } - //nn_close(sock); // dont know why but it crashes... + if ( IAMLP != 0 ) + nn_close(sock); } }