mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 06:41:38 +00:00
ws2_32: Don't call WS_EnterSingleProtocol[A|W] on unsupported protocols (valgrind).
This commit is contained in:
parent
e3998e3988
commit
6f47a9d9d8
|
@ -1822,6 +1822,7 @@ static INT WS_EnumProtocols( BOOL unicode, const INT *protocols, LPWSAPROTOCOL_I
|
|||
|
||||
for (i = items = 0; protocols[i]; i++)
|
||||
{
|
||||
if (!supported_protocol(protocols[i])) continue;
|
||||
if (unicode)
|
||||
{
|
||||
if (WS_EnterSingleProtocolW( protocols[i], &info.w[items] ))
|
||||
|
|
Loading…
Reference in a new issue