mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
(rcmd_af): Use socklen_t for len.
This commit is contained in:
parent
af8240ebcb
commit
1c3f65c2ec
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user