mirror of
https://github.com/curl/curl.git
synced 2026-07-24 20:37:17 +03:00
attempted hpux fix for resolves
This commit is contained in:
parent
9e4594be53
commit
ca5678c8c1
1 changed files with 1 additions and 1 deletions
|
|
@ -630,7 +630,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct SessionHandle *data,
|
|||
|
||||
ret = gethostbyname_r(hostname,
|
||||
(struct hostent *)buf,
|
||||
(struct hostent_data *)(buf + sizeof(struct hostent)));
|
||||
(struct hostent_data *)((char *)buf + sizeof(struct hostent)));
|
||||
else
|
||||
ret = -1; /* failure, too smallish buffer size */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue