jl777 7 years ago
parent
commit
c2ecbc5317
  1. 2
      iguana/exchanges/LP_network.c

2
iguana/exchanges/LP_network.c

@ -478,7 +478,9 @@ void LP_psockloop(void *_ptr)
if ( (size= nn_recv(ptr->publicsock,&buf,NN_MSG,0)) > 0 ) if ( (size= nn_recv(ptr->publicsock,&buf,NN_MSG,0)) > 0 )
{ {
ptr->lasttime = now; ptr->lasttime = now;
if ( ptr->cmdchannel != 0 )
sendsock = ptr->sendsock; sendsock = ptr->sendsock;
else sendsock = ptr->publicsock;
nexti = i+1; nexti = i+1;
break; break;
} }

Loading…
Cancel
Save