- Use socklen_t.

- No need for two instances of 'num'.
This commit is contained in:
stefanf 2005-02-14 17:51:45 +00:00
parent cc969e8555
commit 3681db07f4

View File

@ -230,9 +230,8 @@ rcmd_af(ahost, rport, locuser, remuser, cmd, fd2p, af)
_write(s, "", 1);
lport = 0;
} else {
char num[8];
int s2 = rresvport_af(&lport, ai->ai_family), s3;
int len = ai->ai_addrlen;
socklen_t len = ai->ai_addrlen;
int nfds;
if (s2 < 0)