ws2_32: Add support for FROM_PROTOCOL_INFO to WSASocket()

H. Verbeet hverbeet at gmail.com
Mon May 26 01:45:19 CDT 2008


2008/5/26 Dmitry Timoshkov <dmitry at codeweavers.com>:
> "Kai Blin" <kai.blin at gmail.com> wrote:
>
>> > > +    {FROM_PROTOCOL_INFO, FROM_PROTOCOL_INFO},
>> > >  };
>> >
>> > Although it was the case before, it's a mistake to have a comma after
>> > the last struct member initializer.
>>
>> It is?  K&R seems to use both, so I preferred to keep it similar to all the
>> other struct member initializers.
>
> I said "a mistake" not "an error". Although the compiler forgives this, what
> the last comma is serving for?
>
The C standard explicitly allows the comma at the end of initializer
lists, this would be a style issue at best.



More information about the wine-devel mailing list