mirror of
https://github.com/curl/curl.git
synced 2026-07-16 09:37:17 +03:00
asyn-thread: fix build without socketpair
Follow-up to 9b6148e9d9
Closes #16945
This commit is contained in:
parent
9b6148e9d9
commit
8f65bd6977
1 changed files with 2 additions and 0 deletions
|
|
@ -188,8 +188,10 @@ int init_thread_sync_data(struct thread_data *td,
|
|||
return 0;
|
||||
|
||||
tsd->port = port;
|
||||
#ifndef CURL_DISABLE_SOCKETPAIR
|
||||
tsd->sock_pair[0] = CURL_SOCKET_BAD;
|
||||
tsd->sock_pair[1] = CURL_SOCKET_BAD;
|
||||
#endif
|
||||
tsd->ref_count = 0;
|
||||
|
||||
#ifdef HAVE_GETADDRINFO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue