- Use socklen_t.
- No need for two instances of 'num'.
This commit is contained in:
parent
cc969e8555
commit
3681db07f4
@ -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…
x
Reference in New Issue
Block a user