mirror of
https://github.com/curl/curl.git
synced 2026-07-12 04:47:16 +03:00
asyn-thread: fix the returned bitmask from Curl_resolver_getsock
It should use a bitwise OR, not an assignment so that it does not override the c-ares bits. Closes #16227
This commit is contained in:
parent
c0d38f547b
commit
2ff01152c7
1 changed files with 1 additions and 1 deletions
|
|
@ -688,7 +688,7 @@ int Curl_resolver_getsock(struct Curl_easy *data, curl_socket_t *socks)
|
|||
if(td) {
|
||||
/* return read fd to client for polling the DNS resolution status */
|
||||
socks[socketi] = td->tsd.sock_pair[0];
|
||||
ret_val = GETSOCK_READSOCK(socketi);
|
||||
ret_val |= GETSOCK_READSOCK(socketi);
|
||||
}
|
||||
else {
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue