2
0
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 
This commit is contained in:
Daniel Stenberg 2025-04-03 16:47:41 +02:00
parent 9b6148e9d9
commit 8f65bd6977
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

@ -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