Browse Source

Test

etomic
jl777 8 years ago
parent
commit
473aab4301
  1. 2
      iguana/exchanges/LP_nativeDEX.c

2
iguana/exchanges/LP_nativeDEX.c

@ -228,7 +228,7 @@ struct LP_peerinfo *LP_addpeer(int32_t amclient,struct LP_peerinfo *mypeer,int32
strcpy(peer->ipaddr,ipaddr); strcpy(peer->ipaddr,ipaddr);
if ( amclient == 0 ) if ( amclient == 0 )
enabled = 1; enabled = 1;
else enabled = (rand() % (1 << Client_connections)) == 0; else enabled = 1;//(rand() % (1 << Client_connections)) == 0;
if ( pushport != 0 && subport != 0 && (pushsock= nn_socket(AF_SP,NN_PUSH)) >= 0 ) if ( pushport != 0 && subport != 0 && (pushsock= nn_socket(AF_SP,NN_PUSH)) >= 0 )
{ {
timeout = 1000; timeout = 1000;

Loading…
Cancel
Save