mirror of
https://github.com/curl/curl.git
synced 2025-04-24 16:40:32 +08:00
asyn-thread: fix build without socketpair
Follow-up to 9b6148e9d95db54a752b03b571296c40d66e97fe Closes #16945
This commit is contained in:
parent
9b6148e9d9
commit
8f65bd6977
@ -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…
x
Reference in New Issue
Block a user