Alexandre Julliard : ws2_32: Don't name a parameter errno.

Alexandre Julliard julliard at winehq.org
Wed Apr 30 06:57:04 CDT 2008


Module: wine
Branch: master
Commit: 6121af50d6309cfaca988fe58ce2f98307fb75a5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6121af50d6309cfaca988fe58ce2f98307fb75a5

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Apr 29 20:17:41 2008 +0200

ws2_32: Don't name a parameter errno.

---

 dlls/ws2_32/protocol.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ws2_32/protocol.c b/dlls/ws2_32/protocol.c
index 43bf424..9939257 100644
--- a/dlls/ws2_32/protocol.c
+++ b/dlls/ws2_32/protocol.c
@@ -403,11 +403,11 @@ INT WINAPI WSAEnumProtocolsW( LPINT protocols, LPWSAPROTOCOL_INFOW buffer, LPDWO
  *  Doesn't supply info on layered protocols.
  *
  */
-INT WINAPI WSCEnumProtocols( LPINT protocols, LPWSAPROTOCOL_INFOW buffer, LPDWORD len, LPINT errno )
+INT WINAPI WSCEnumProtocols( LPINT protocols, LPWSAPROTOCOL_INFOW buffer, LPDWORD len, LPINT err )
 {
     INT ret = WSAEnumProtocolsW( protocols, buffer, len );
 
-    if (ret == SOCKET_ERROR) *errno = WSAENOBUFS;
+    if (ret == SOCKET_ERROR) *err = WSAENOBUFS;
 
     return ret;
 }




More information about the wine-cvs mailing list