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:
1dc5bf4
)
made gcc -Wcast-align happy
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 18 Jan 2002 12:56:10 +0000
(12:56 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 18 Jan 2002 12:56:10 +0000
(12:56 +0000)
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index
0ac280f
..
29c0cb8
100644
(file)
--- a/
lib/ftp.c
+++ b/
lib/ftp.c
@@
-911,7
+911,7
@@
ftp_pasv_verbose(struct connectdata *conn,
# ifdef HAVE_GETHOSTBYADDR_R_7
/* Solaris and IRIX */
answer = gethostbyaddr_r((char *) &address, sizeof(address), AF_INET,
- (struct hostent *)
hostent_
buf,
+ (struct hostent *)
big
buf,
hostent_buf + sizeof(*answer),
sizeof(hostent_buf) - sizeof(*answer),
&h_errnop);