mirror of
https://github.com/curl/curl.git
synced 2026-08-26 04:13:31 +03:00
parent
0236276c3d
commit
5a263710f6
30 changed files with 60 additions and 60 deletions
|
|
@ -311,7 +311,7 @@ CURL_STDCALL getaddrinfo_thread(void *arg)
|
|||
rc = Curl_getaddrinfo_ex(tsd->hostname, service, &tsd->hints, &tsd->res);
|
||||
|
||||
if(rc) {
|
||||
tsd->sock_error = SOCKERRNO?SOCKERRNO:rc;
|
||||
tsd->sock_error = SOCKERRNO ? SOCKERRNO : rc;
|
||||
if(tsd->sock_error == 0)
|
||||
tsd->sock_error = RESOLVER_ENOMEM;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue