Browse Source

Test

etomic
jl777 7 years ago
parent
commit
42462bd9c0
  1. 2
      iguana/exchanges/LP_nativeDEX.c
  2. 2
      iguana/exchanges/stats.c

2
iguana/exchanges/LP_nativeDEX.c

@ -1095,7 +1095,7 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,uint16_t mybu
printf("error launching stats rpcloop for port.%u\n",myport);
exit(-1);
}
if ( OS_thread_create(malloc(sizeof(pthread_t)),NULL,(void *)command_rpcloop,(void *)myipaddr) != 0 )
if ( 0 && OS_thread_create(malloc(sizeof(pthread_t)),NULL,(void *)command_rpcloop,(void *)myipaddr) != 0 )
{
printf("error launching command_rpcloop for port.%u\n",myport);
exit(-1);

2
iguana/exchanges/stats.c

@ -780,7 +780,7 @@ void stats_rpcloop(void *args)
printf("error launching rpc handler on port %d\n",port);
// yes, small leak per command
}
if ( IAMLP != 0 && ipbits != localhostbits )
if ( 0 && IAMLP != 0 && ipbits != localhostbits )
{
close(bindsock);
bindsock = iguana_socket(1,"0.0.0.0",port);

Loading…
Cancel
Save