]> granicus.if.org Git - curl/commit
Fix NTLM winbind support to pass the torture tests
authorDan Fandrich <dan@coneharvesters.com>
Fri, 2 Sep 2011 20:15:58 +0000 (13:15 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 2 Sep 2011 20:22:20 +0000 (13:22 -0700)
commitded3638d972f4512b4e90aaec1625b9b0890b233
tree99b4ce3bba196fdbc83aa89e6a5f9c990fbfe50f
parent9194e1700312f27c6e2abdfb1f604e130497e887
Fix NTLM winbind support to pass the torture tests

Calling sclose() both in the child and the parent fools the
socket leak detector into thinking it's been closed twice.
Calling close() in the child instead overcomes this problem. It's
not as portable as the sclose() macro, but this code is highly
POSIX-specific, anyway.
lib/curl_ntlm_wb.c