Bruno Jesus 00cpxxx@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...