diff options
author | 2002-09-06 18:35:12 +0000 | |
---|---|---|
committer | 2002-09-06 18:35:12 +0000 | |
commit | e62fa23158f9a28dfa69af8524e808a8b9ca30ea (patch) | |
tree | e6ac7812f4b168991e11aa6b8a1b15b6f97e6b69 /lib/libc/net/rcmd.c | |
parent | undo signed vs unsigned confusion (diff) | |
download | wireguard-openbsd-e62fa23158f9a28dfa69af8524e808a8b9ca30ea.tar.xz wireguard-openbsd-e62fa23158f9a28dfa69af8524e808a8b9ca30ea.zip |
use socklen_t where needed; henning pvalchev ok
Diffstat (limited to 'lib/libc/net/rcmd.c')
-rw-r--r-- | lib/libc/net/rcmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c index be68c599d8c..d3d2d751b5e 100644 --- a/lib/libc/net/rcmd.c +++ b/lib/libc/net/rcmd.c @@ -34,7 +34,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: rcmd.c,v 1.43 2002/05/24 21:22:37 deraadt Exp $"; +static char *rcsid = "$OpenBSD: rcmd.c,v 1.44 2002/09/06 18:35:12 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -216,7 +216,7 @@ rcmd_af(ahost, rport, locuser, remuser, cmd, fd2p, af) } else { char num[8]; int s2 = rresvport_af(&lport, af), s3; - int len = sizeof(from); + socklen_t len = sizeof(from); int fdssize = howmany(MAX(s, s2)+1, NFDBITS) * sizeof(fd_mask); if (s2 < 0) |