From c0235a458575fd9ebe2eb42c6b4f58e7b9832c44 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 4 Feb 2018 16:54:29 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_network.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index 38f388256..703c4110f 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -481,6 +481,7 @@ void LP_psockloop(void *_ptr) if ( ptr->cmdchannel != 0 ) sendsock = ptr->sendsock; else sendsock = ptr->publicsock; + printf("nn_recv.(%s)\n",(char *)buf); nexti = i+1; break; } @@ -542,8 +543,8 @@ void LP_psockloop(void *_ptr) } else printf("num pfds.%d retval.%d\n",n,retval); } } - //free(pfds); - //printf("sendsock.%d Numpsocks.%d\n",sendsock,Numpsocks); + if ( sendsock >= 0 ) + printf("sendsock.%d Numpsocks.%d\n",sendsock,Numpsocks); if ( sendsock < 0 ) { for (i=nonz=0; i