[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [7/7] ws2_32: Better trace setsockopt/getsockopt (try 2)
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2015-03-30 7:41:23
Message-ID: 87oanbgcf0.fsf () winehq ! org
[Download RAW message or body]

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...

-- 
Alexandre Julliard
julliard@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic