* ftpd.c (main): Use socklen_t for the size of the address from accept
authorKen Raeburn <raeburn@mit.edu>
Mon, 9 Aug 2004 00:20:05 +0000 (00:20 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 9 Aug 2004 00:20:05 +0000 (00:20 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16653 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/gssftp/ftpd/ChangeLog
src/appl/gssftp/ftpd/ftpd.c

index d378f73921484e573bbd875437a1e592aaffe1c6..f0701624a46c2527da940dc5fdd476c8148f9d10 100644 (file)
@@ -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.
index 73b36673e74d6bdde8de1a5a833e01c1efff0b2d..b3359ae655d8ebcc38aa7e7f2fa91a0eacaa85f3 100644 (file)
@@ -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;