Browse Source

Fix !=

pass-iguana-arg
jl777 7 years ago
parent
commit
8c71bb2164
  1. 4
      iguana/exchanges/LP_socket.c
  2. 2
      iguana/exchanges/coins

4
iguana/exchanges/LP_socket.c

@ -62,9 +62,9 @@ int32_t komodo_connect(int32_t sock,struct sockaddr *saddr,socklen_t addrlen)
{
#ifdef _WIN32
// https://msdn.microsoft.com/en-us/library/windows/desktop/ms737625%28v=vs.85%29.aspx - read about WSAEWOULDBLOCK return
if (!(( errno == EINPROGRESS) || ( errno = WSAEWOULDBLOCK))) // connect failed, do something...
if ( errno != EINPROGRESS && errno != WSAEWOULDBLOCK ) // connect failed, do something...
#else
if (errno != EINPROGRESS) // connect failed, do something...
if ( errno != EINPROGRESS ) // connect failed, do something...
#endif
{
closesocket(sock);

2
iguana/exchanges/coins

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save