From: Nikos Mavrogiannopoulos Date: Fri, 25 Mar 2011 23:53:51 +0000 (+0100) Subject: Corrected windows system_errno() function. Reported and patch by Mark Brand. X-Git-Tag: gnutls_2_99_0~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6e37c8174029f089f1f7f1f8bed411658805eae;p=thirdparty%2Fgnutls.git Corrected windows system_errno() function. Reported and patch by Mark Brand. --- diff --git a/lib/system.c b/lib/system.c index 120fc8b0ca..f9db0fb5aa 100644 --- a/lib/system.c +++ b/lib/system.c @@ -50,7 +50,7 @@ #ifdef _WIN32 int -system_errno (gnutls_transport_ptr) +system_errno (gnutls_transport_ptr p) { int tmperr = WSAGetLastError (); int ret = 0;