diff options
author | Andrey Borzenkov <bor@users.sourceforge.net> | 2001-06-19 06:59:24 +0000 |
---|---|---|
committer | Andrey Borzenkov <bor@users.sourceforge.net> | 2001-06-19 06:59:24 +0000 |
commit | 9b9e9401178190a75b03662416265993dea06f09 (patch) | |
tree | 97f8d48127c485c1dc4b9090646915b7096c3bec /Src/Modules/zftp.c | |
parent | 7bac7b6f76334e83d017edf1801ef7a3df5a9aa9 (diff) | |
download | zsh-9b9e9401178190a75b03662416265993dea06f09.tar.gz zsh-9b9e9401178190a75b03662416265993dea06f09.tar.xz zsh-9b9e9401178190a75b03662416265993dea06f09.zip |
14973: fix for reported problems on AIX.
Diffstat (limited to 'Src/Modules/zftp.c')
-rw-r--r-- | Src/Modules/zftp.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c index e6fa9eb79..7e511c63e 100644 --- a/Src/Modules/zftp.c +++ b/Src/Modules/zftp.c @@ -972,7 +972,8 @@ zfopendata(char *name, union tcp_sockaddr *zdsockp, int *is_passivep) #else char portcmd[40]; #endif - int ret, len; + SOCKLEN_T len; + int ret; if (!(zfprefs & ZFPF_SNDP)) { zwarnnam(name, "only sendport mode available for data", NULL, 0); @@ -1064,7 +1065,8 @@ zfclosedata(void) static int zfgetdata(char *name, char *rest, char *cmd, int getsize) { - int len, newfd, is_passive; + SOCKLEN_T len; + int newfd, is_passive; union tcp_sockaddr zdsock; if (zfopendata(name, &zdsock, &is_passive)) @@ -1698,7 +1700,8 @@ zftp_open(char *name, char **args, int flags) struct servent *zservp; struct hostent *zhostp = NULL; char **addrp, *fname; - int err, len, tmout; + int err, tmout; + SOCKLEN_T len; int herrno, af, hlen; if (!*args) { |