diff options
Diffstat (limited to 'Src/Modules')
-rw-r--r-- | Src/Modules/socket.c | 2 | ||||
-rw-r--r-- | Src/Modules/tcp.c | 2 | ||||
-rw-r--r-- | Src/Modules/zftp.c | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/Src/Modules/socket.c b/Src/Modules/socket.c index 5339e72b7..3a2c590a1 100644 --- a/Src/Modules/socket.c +++ b/Src/Modules/socket.c @@ -61,7 +61,7 @@ static int bin_zsocket(char *nam, char **args, Options ops, UNUSED(int func)) { int err=1, verbose=0, test=0, targetfd=0; - SOCKLEN_T len; + ZSOCKLEN_T len; struct sockaddr_un soun; int sfd; diff --git a/Src/Modules/tcp.c b/Src/Modules/tcp.c index 586c2a19e..2120ba833 100644 --- a/Src/Modules/tcp.c +++ b/Src/Modules/tcp.c @@ -340,7 +340,7 @@ static int bin_ztcp(char *nam, char **args, Options ops, UNUSED(int func)) { int herrno, err=1, destport, force=0, verbose=0, test=0, targetfd=0; - SOCKLEN_T len; + ZSOCKLEN_T len; char **addrp, *desthost, *localname, *remotename; struct hostent *zthost = NULL, *ztpeer = NULL; struct servent *srv; diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c index 3fb01486a..f41d902db 100644 --- a/Src/Modules/zftp.c +++ b/Src/Modules/zftp.c @@ -972,7 +972,7 @@ zfopendata(char *name, union tcp_sockaddr *zdsockp, int *is_passivep) #else char portcmd[40]; #endif - SOCKLEN_T len; + ZSOCKLEN_T len; int ret; if (!(zfprefs & ZFPF_SNDP)) { @@ -1065,7 +1065,7 @@ zfclosedata(void) static int zfgetdata(char *name, char *rest, char *cmd, int getsize) { - SOCKLEN_T len; + ZSOCKLEN_T len; int newfd, is_passive; union tcp_sockaddr zdsock; @@ -1702,7 +1702,7 @@ zftp_open(char *name, char **args, int flags) char **addrp, *fname, *tmpptr, *portnam = "ftp"; char *hostnam, *hostsuffix; int err, tmout, port = -1; - SOCKLEN_T len; + ZSOCKLEN_T len; int herrno, af, hlen; if (!*args) { |