[7/7] ws2_32: Better trace setsockopt/getsockopt (try 2)

Alexandre Julliard julliard at winehq.org
Mon Mar 30 02:41:23 CDT 2015

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

> Use wine_dbg_sprintf instead of plain sprintf, that simplified the patch =)

What you really want is to implement a debugstr_sockopt and something
like a debugstr_optval and use these in normal TRACE statements, instead
of hiding the trace inside a helper function. Also you can't append to a
wine_dbg_sprintf string, that's why it's const...

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list