(rcmd_af): Use socklen_t for len.

This commit is contained in:
Andreas Jaeger 2001-01-01 14:53:05 +00:00
parent af8240ebcb
commit 1c3f65c2ec

View File

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