projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e4594b
)
attempted hpux fix for resolves
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 8 Aug 2002 22:44:43 +0000
(22:44 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 8 Aug 2002 22:44:43 +0000
(22:44 +0000)
lib/hostip.c
patch
|
blob
|
history
diff --git
a/lib/hostip.c
b/lib/hostip.c
index df054589daa8d9e4d43828d2532788f97d7fda55..5a173990bbed61096f6084d540b70d8fdbbdf6a1 100644
(file)
--- a/
lib/hostip.c
+++ b/
lib/hostip.c
@@
-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 */