ws2_32: Fix hostent memory allocation

Bruno Jesus 00cpxxx at gmail.com
Mon Apr 16 08:47:06 CDT 2012


On Mon, Apr 16, 2012 at 10:17, Alexandre Julliard <julliard at winehq.org> wrote:
> ...
> That's not a good helper function, with all the optional parameters and
> various behaviors. Also if you need a big documentation block like this
> for a 5-line function it's a sign that something is wrong.

Sorry, I didn't know it was bad to document small functions. So should
I duplicate list_size creating list_count to get the number of items
or should I simply loop and count the size and item count without
using list_size in WS_dup_he?

> --
> Alexandre Julliard
> julliard at winehq.org

Best wishes,
Bruno



More information about the wine-devel mailing list