"Mike McCormack" mike@codeweavers.com wrote:
Does this look better? Strange I didn't get a compiler warning from that...
if( dwHeaderLength == -1L )
len = strlenW(lpszHeaders);
else
len = dwHeaderLength;
Well, it's better, but really needs a test to verify whether only -1 or any negative value is treated as a hidden strlen.