mirror of
https://github.com/curl/curl.git
synced 2025-04-24 16:40:32 +08:00
ntlm_wb: Use Curl_socketpair() for greater portability
Reported-by: Daniel Stenberg Closes #4886
This commit is contained in:
parent
8a5c1cf1f0
commit
c87730daeb
@ -189,7 +189,7 @@ static CURLcode ntlm_wb_init(struct Curl_easy *data, struct ntlmdata *ntlm,
|
||||
goto done;
|
||||
}
|
||||
|
||||
if(socketpair(AF_UNIX, SOCK_STREAM, 0, sockfds)) {
|
||||
if(Curl_socketpair(AF_UNIX, SOCK_STREAM, 0, sockfds)) {
|
||||
failf(data, "Could not open socket pair. errno %d: %s",
|
||||
errno, Curl_strerror(errno, buffer, sizeof(buffer)));
|
||||
goto done;
|
||||
|
Loading…
x
Reference in New Issue
Block a user