mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-15 07:14:49 +02:00
changing some camelCase variable names to snake_case in previous commit
This commit is contained in:
@@ -319,11 +319,11 @@ int zmq::tcp_connecter_t::open ()
|
||||
// Translate error codes indicating asynchronous connect has been
|
||||
// launched to a uniform EINPROGRESS.
|
||||
#ifdef ZMQ_HAVE_WINDOWS
|
||||
const int lastError = WSAGetLastError();
|
||||
if (lastError == WSAEINPROGRESS || lastError == WSAEWOULDBLOCK)
|
||||
const int last_error = WSAGetLastError();
|
||||
if (last_error == WSAEINPROGRESS || last_error == WSAEWOULDBLOCK)
|
||||
errno = EINPROGRESS;
|
||||
else
|
||||
errno = wsa_error_to_errno (lastError);
|
||||
errno = wsa_error_to_errno (last_error);
|
||||
#else
|
||||
if (errno == EINTR)
|
||||
errno = EINPROGRESS;
|
||||
|
Reference in New Issue
Block a user