James Hawkins wrote:
On 9/8/06, Ryan Miller rmiller@auctionpay.com wrote:
- /* In Windows, if setsockopt succeeds, GetLastError() always
returns zero.
The native wininet.dll expects this behavior, and does not always
check the return value of setsockopt() first.*/
- SetLastError(0);
0 is ERROR_SUCCESS, and you need to use that define.
find -name '*.[ch]' | xargs grep 'SetLastError( *0 *)' | wc -l 117
Time for a new Janitorial mini task?
bye michael