From fe0be620cd898d62c35aad61d9c9734d02f24d9b Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 9 Aug 2004 00:20:05 +0000 Subject: [PATCH] * ftpd.c (main): Use socklen_t for the size of the address from accept git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16653 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/gssftp/ftpd/ChangeLog | 5 +++++ src/appl/gssftp/ftpd/ftpd.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index d378f7392..f0701624a 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,8 @@ +2004-08-08 Ken Raeburn + + * ftpd.c (main): Use socklen_t for the size of the address from + accept. + 2003-12-13 Ken Raeburn * ftpcmd.y (getline): Allow "AUTH" as an unprotected command. diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index 73b36673e..b3359ae65 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -431,7 +431,8 @@ main(argc, argv, envp) if (port != -1) { struct sockaddr_in sin4; - int s, ns, sz; + int s, ns; + socklen_t sz; /* Accept an incoming connection on port. */ sin4.sin_family = AF_INET; -- 2.26.2