ws2_32: Cope with invalid protocols in WSAEnumProtocols

Bruno Jesus 00cpxxx at gmail.com
Thu Sep 5 07:48:39 CDT 2013


On Thu, Sep 5, 2013 at 9:44 AM, Dmitry Timoshkov <dmitry at baikal.ru> wrote:
> 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'.

Agreed, thanks.

> --
> Dmitry.

Bruno



More information about the wine-devel mailing list