From 20d7e6f89da03a369b11db9b734c94672051254a Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 20 May 2017 20:51:04 +0300 Subject: [PATCH] Test --- basilisk/basilisk_swap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basilisk/basilisk_swap.c b/basilisk/basilisk_swap.c index 068677842..b4c8021a9 100755 --- a/basilisk/basilisk_swap.c +++ b/basilisk/basilisk_swap.c @@ -2417,7 +2417,7 @@ void basilisk_psockinit(struct supernet_info *myinfo,struct basilisk_swap *swap, swap->pushsock = pushsock; swap->subsock = subsock; } - if ( swap->subsock < 0 || swap->pushsock < 0 ) + if ( (subsock= swap->subsock) < 0 || (pushsock= swap->pushsock) < 0 ) { printf("error getting nn_sockets\n"); return;