changing some camelCase variable names to snake_case in previous commit

This commit is contained in:
reza.ebrahimi
2015-08-14 16:56:07 +04:30
parent d7b74d1f57
commit 8e6ef4616e
6 changed files with 38 additions and 38 deletions

View File

@@ -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;