9 Sep
2006
9 Sep
'06
6:43 a.m.
James Hawkins wrote:
On 9/8/06, Ryan Miller <rmiller(a)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 -- Michael Stefaniuc Tel.: +49-711-96437-199 Sr. Network Engineer Fax.: +49-711-96437-111 Red Hat GmbH Email: mstefani(a)redhat.com Hauptstaetterstr. 58 http://www.redhat.de/ D-70178 Stuttgart