Commit 275fee94 authored by Ian Craggs's avatar Ian Craggs

Fix for issue #432

parent 7ad7e0b7
...@@ -104,7 +104,6 @@ int Socket_error(char* aString, int sock) ...@@ -104,7 +104,6 @@ int Socket_error(char* aString, int sock)
int errno; int errno;
#endif #endif
FUNC_ENTRY;
#if defined(WIN32) || defined(WIN64) #if defined(WIN32) || defined(WIN64)
errno = WSAGetLastError(); errno = WSAGetLastError();
#endif #endif
...@@ -113,7 +112,6 @@ int Socket_error(char* aString, int sock) ...@@ -113,7 +112,6 @@ int Socket_error(char* aString, int sock)
if (strcmp(aString, "shutdown") != 0 || (errno != ENOTCONN && errno != ECONNRESET)) if (strcmp(aString, "shutdown") != 0 || (errno != ENOTCONN && errno != ECONNRESET))
Log(TRACE_MINIMUM, -1, "Socket error %s(%d) in %s for socket %d", strerror(errno), errno, aString, sock); Log(TRACE_MINIMUM, -1, "Socket error %s(%d) in %s for socket %d", strerror(errno), errno, aString, sock);
} }
FUNC_EXIT_RC(errno);
return errno; return errno;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment