From e9e32d8694346c3ab31dcb34aaa01476bc224592 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 11 Sep 2017 10:04:28 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_socket.c b/iguana/exchanges/LP_socket.c index eef94ce7c..1ac989518 100644 --- a/iguana/exchanges/LP_socket.c +++ b/iguana/exchanges/LP_socket.c @@ -255,7 +255,7 @@ struct electrum_info *electrum_server(char *symbol,struct electrum_info *ep) { struct electrum_info *rbuf[128],*recent_ep; uint32_t recent,mostrecent = 0; int32_t i,n = 0; portable_mutex_lock(&LP_electrummutex); - if ( ep != 0 ) + if ( ep == 0 ) { memset(rbuf,0,sizeof(rbuf)); recent_ep = 0;