mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
- Use socklen_t.
- No need for two instances of 'num'.
This commit is contained in:
parent
99af251656
commit
10248e3a93
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141920
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user