ws2_32: Don't name a parameter errno.
This commit is contained in:
parent
bfb4ec0f3a
commit
6121af50d6
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue