(rcmd_af): Use socklen_t for len.
authoraj <aj>
Mon, 1 Jan 2001 14:53:05 +0000 (14:53 +0000)
committeraj <aj>
Mon, 1 Jan 2001 14:53:05 +0000 (14:53 +0000)
inet/rcmd.c

index a85cce6..c24dfe8 100644 (file)
@@ -209,7 +209,7 @@ rcmd_af(ahost, rport, locuser, remuser, cmd, fd2p, af)
        } else {
                char num[8];
                int s2 = rresvport_af(&lport, ai->ai_family), s3;
-               size_t len = ai->ai_addrlen;
+               socklen_t len = ai->ai_addrlen;
 
                if (s2 < 0)
                        goto bad;