about summary refs log tree commit diff
path: root/Src/Modules/tcp.c
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2001-10-08 07:19:35 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2001-10-08 07:19:35 +0000
commitb109834dc2d3e86ac4bed09a7957d6ba9d2f517a (patch)
tree58dc85fb69547812a682409b3c5a2df1bd34ade6 /Src/Modules/tcp.c
parent99b7512cd9d86809a7bb175c7a62f9083569efad (diff)
downloadzsh-b109834dc2d3e86ac4bed09a7957d6ba9d2f517a.tar.gz
zsh-b109834dc2d3e86ac4bed09a7957d6ba9d2f517a.tar.xz
zsh-b109834dc2d3e86ac4bed09a7957d6ba9d2f517a.zip
15964: use SOCKLEN_T
Diffstat (limited to 'Src/Modules/tcp.c')
-rw-r--r--Src/Modules/tcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Modules/tcp.c b/Src/Modules/tcp.c
index 405ce2aa6..baf742f19 100644
--- a/Src/Modules/tcp.c
+++ b/Src/Modules/tcp.c
@@ -355,7 +355,8 @@ tcp_connect(Tcp_session sess, char *addrp, struct hostent *zhost, int d_port)
 static int
 bin_ztcp(char *nam, char **args, char *ops, int func)
 {
-    int herrno, err=1, destport, force=0, verbose=0, test=0, targetfd=0, len;
+    int herrno, err=1, destport, force=0, verbose=0, test=0, targetfd=0;
+    SOCKLEN_T  len;
     char **addrp, *desthost, *localname, *remotename, **dargs;
     struct hostent *zthost = NULL, *ztpeer = NULL;
     struct servent *srv;