mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:01:41 +03:00
asyn-thread: repair build with disabled socketpair
Reported-by: Abhinav Singhal Bug: https://curl.se/mail/lib-2025-03/0031.html Closes #16877
This commit is contained in:
parent
083da46c60
commit
b2926e2248
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