Browse Source

+struct

pass-iguana-arg
jl777 7 years ago
parent
commit
cfe4b1585f
  1. 2
      iguana/exchanges/LP_socket.c

2
iguana/exchanges/LP_socket.c

@ -47,7 +47,7 @@ int32_t set_blocking_mode(int32_t sock,bool is_blocking) // from https://stackov
int32_t komodo_connect(int32_t sock,struct sockaddr *saddr,int32_t addrlen)
{
timeval tv; fd_set wfd,efd; int32_t res,so_error,len;
struct timeval tv; fd_set wfd,efd; int32_t res,so_error,len;
fcntl(sock,F_SETFL,O_NONBLOCK);
res = connect(sock,saddr,addrlen);
if ( res == -1 )

Loading…
Cancel
Save