jl777 7 years ago
parent
commit
c0235a4585
  1. 5
      iguana/exchanges/LP_network.c

5
iguana/exchanges/LP_network.c

@ -481,6 +481,7 @@ void LP_psockloop(void *_ptr)
if ( ptr->cmdchannel != 0 ) if ( ptr->cmdchannel != 0 )
sendsock = ptr->sendsock; sendsock = ptr->sendsock;
else sendsock = ptr->publicsock; else sendsock = ptr->publicsock;
printf("nn_recv.(%s)\n",(char *)buf);
nexti = i+1; nexti = i+1;
break; break;
} }
@ -542,8 +543,8 @@ void LP_psockloop(void *_ptr)
} else printf("num pfds.%d retval.%d\n",n,retval); } else printf("num pfds.%d retval.%d\n",n,retval);
} }
} }
//free(pfds); if ( sendsock >= 0 )
//printf("sendsock.%d Numpsocks.%d\n",sendsock,Numpsocks); printf("sendsock.%d Numpsocks.%d\n",sendsock,Numpsocks);
if ( sendsock < 0 ) if ( sendsock < 0 )
{ {
for (i=nonz=0; i<Numpsocks; i++) for (i=nonz=0; i<Numpsocks; i++)

Loading…
Cancel
Save