Commit 6121af50 authored by Alexandre Julliard's avatar Alexandre Julliard

ws2_32: Don't name a parameter errno.

parent bfb4ec0f
...@@ -403,11 +403,11 @@ INT WINAPI WSAEnumProtocolsW( LPINT protocols, LPWSAPROTOCOL_INFOW buffer, LPDWO ...@@ -403,11 +403,11 @@ INT WINAPI WSAEnumProtocolsW( LPINT protocols, LPWSAPROTOCOL_INFOW buffer, LPDWO
* Doesn't supply info on layered protocols. * 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 ); INT ret = WSAEnumProtocolsW( protocols, buffer, len );
if (ret == SOCKET_ERROR) *errno = WSAENOBUFS; if (ret == SOCKET_ERROR) *err = WSAENOBUFS;
return ret; return ret;
} }
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