summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/appl/gssftp/ftpd/ChangeLog5
-rw-r--r--src/appl/gssftp/ftpd/ftpd.c3
2 files changed, 7 insertions, 1 deletions
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 <raeburn@mit.edu>
+
+ * ftpd.c (main): Use socklen_t for the size of the address from
+ accept.
+
2003-12-13 Ken Raeburn <raeburn@mit.edu>
* 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;