From 21a7743592aaa2850e8bc9044369915579e53c7f Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 20 Jun 2017 21:19:29 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index 60689277b..dd207786c 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -450,7 +450,7 @@ int32_t LP_initpublicaddr(uint16_t *mypullportp,char *publicaddr,char *myipaddr, nn_setsockopt(pullsock,NN_SUB,NN_SUB_SUBSCRIBE,"",0); //LP_send(pullsock,"hello init",0); } - if ( 1 && ispaired == 0 && nn_tests(pullsock,publicaddr,NN_PUSH) < 0 ) + if ( LP_canbind == 0 && ispaired == 0 && nn_tests(pullsock,publicaddr,NN_PUSH) < 0 ) { printf("command socket didnt work\n"); exit(-1);