From bf3ef4a5d5889b762ba9743d44769f699e017e16 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 6 Sep 2002 18:35:13 +0000 Subject: use socklen_t where needed; henning pvalchev ok --- lib/libc/rpc/pmap_rmt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/libc/rpc/pmap_rmt.c') diff --git a/lib/libc/rpc/pmap_rmt.c b/lib/libc/rpc/pmap_rmt.c index 0183696dd44..2e36d1263ea 100644 --- a/lib/libc/rpc/pmap_rmt.c +++ b/lib/libc/rpc/pmap_rmt.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: pmap_rmt.c,v 1.19 2001/09/15 13:51:01 deraadt Exp $"; +static char *rcsid = "$OpenBSD: pmap_rmt.c,v 1.20 2002/09/06 18:35:12 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -229,7 +229,8 @@ clnt_broadcast(prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult) AUTH *unix_auth = authunix_create_default(); XDR xdr_stream; XDR *xdrs = &xdr_stream; - int outlen, inlen, fromlen, nets; + int outlen, inlen, nets; + socklen_t fromlen; int sock = -1; int on = 1; fd_set *fds = NULL, readfds; -- cgit v1.2.3