aboutsummaryrefslogtreecommitdiff
path: root/inet/rcmd.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-01-01 14:53:05 +0000
committerAndreas Jaeger <aj@suse.de>2001-01-01 14:53:05 +0000
commit1c3f65c2ecbc89c309970b4c2eb0b2a408698682 (patch)
treede1fd4939e651d42fe4118e68a3e463e0e922efc /inet/rcmd.c
parentaf8240ebcbf1a0ae07bb033b9e3305714ce44e47 (diff)
downloadglibc-1c3f65c2ecbc89c309970b4c2eb0b2a408698682.zip
glibc-1c3f65c2ecbc89c309970b4c2eb0b2a408698682.tar.gz
glibc-1c3f65c2ecbc89c309970b4c2eb0b2a408698682.tar.bz2
(rcmd_af): Use socklen_t for len.
Diffstat (limited to 'inet/rcmd.c')
-rw-r--r--inet/rcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c
index a85cce6..c24dfe8 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -209,7 +209,7 @@ rcmd_af(ahost, rport, locuser, remuser, cmd, fd2p, af)
} else {
char num[8];
int s2 = rresvport_af(&lport, ai->ai_family), s3;
- size_t len = ai->ai_addrlen;
+ socklen_t len = ai->ai_addrlen;
if (s2 < 0)
goto bad;