From b109834dc2d3e86ac4bed09a7957d6ba9d2f517a Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Mon, 8 Oct 2001 07:19:35 +0000 Subject: 15964: use SOCKLEN_T --- ChangeLog | 4 ++++ Src/Modules/tcp.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6a486a7f0..0fe7d5909 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-10-08 Andrej Borsenkow + + * 15964: Src/Modules/tcp.c: use SOCKLEN_T + 2001-10-06 Clint Adams * Norbert Koch: 15954: Doc/Zsh/arith.yo: 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; -- cgit 1.4.1