ws2_32: Don't name a parameter errno.

This commit is contained in:
Alexandre Julliard 2008-04-29 20:17:41 +02:00
parent bfb4ec0f3a
commit 6121af50d6
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}