Browse Source

Test

etomic
jl777 8 years ago
parent
commit
c72f737e9a
  1. 4
      iguana/exchanges/LP_nativeDEX.c

4
iguana/exchanges/LP_nativeDEX.c

@ -314,7 +314,9 @@ int32_t LP_mainloop_iter(void *ctx,char *myipaddr,struct LP_peerinfo *mypeer,int
sprintf(keepalive,"{\"method\":\"keepalive\"}");
//printf("send keepalive to %s pullsock.%d\n",pushaddr,pullsock);
if ( LP_send(pullsock,keepalive,0) < 0 )
LP_deadman_switch = 0;
{
//LP_deadman_switch = 0;
}
}
counter++;
return(nonz);

Loading…
Cancel
Save