ws2_32: Cope with invalid protocols in WSAEnumProtocols

Dmitry Timoshkov dmitry at baikal.ru
Thu Sep 5 07:44:40 CDT 2013


Bruno Jesus <00cpxxx at gmail.com> wrote:

> +INT validprotocols[] = { WS_IPPROTO_TCP,
> +                         WS_IPPROTO_UDP,
> +                         NSPROTO_IPX,
> +                         NSPROTO_SPX,
> +                         NSPROTO_SPXII,
> +                         0 };

This should be 'static const'.

-- 
Dmitry.



More information about the wine-devel mailing list