mirror of
https://github.com/curl/curl.git
synced 2026-07-25 09:47:49 +03:00
ntlm_wb: Use Curl_socketpair() for greater portability
Reported-by: Daniel Stenberg Closes #4886
This commit is contained in:
parent
8a5c1cf1f0
commit
c87730daeb
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue