>From 8f5a44c506468bf50a79b64be9e38854930d7b5e Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 26 Nov 2009 16:51:19 +0000 Subject: [PATCH] set_winsock_errno: Don't hide the original Windows error code. --- lib/w32sock.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/lib/w32sock.h b/lib/w32sock.h index 0622985..8705f8f 100644 --- a/lib/w32sock.h +++ b/lib/w32sock.h @@ -32,7 +32,6 @@ static inline void set_winsock_errno (void) { int err = WSAGetLastError (); - WSASetLastError (0); /* Map some WSAE* errors to the runtime library's error codes. */ switch (err) -- 1.6.5.2