diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-06 19:43:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-06 19:43:55 +0000 |
commit | be77049622266cc17c3bdcf5a5133d4d840c017e (patch) | |
tree | 961945ab4f9c5985e18ccf2b03d4c0e4187fce58 /libexec/rpc.rusersd | |
parent | 11cebf79245d373cc7a70e7f78fff2b465e010f2 (diff) |
use socklen_t more; henning ok
Diffstat (limited to 'libexec/rpc.rusersd')
-rw-r--r-- | libexec/rpc.rusersd/rusersd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libexec/rpc.rusersd/rusersd.c b/libexec/rpc.rusersd/rusersd.c index a9913eded31..299aa40e182 100644 --- a/libexec/rpc.rusersd/rusersd.c +++ b/libexec/rpc.rusersd/rusersd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rusersd.c,v 1.10 2002/07/15 23:47:57 deraadt Exp $ */ +/* $OpenBSD: rusersd.c,v 1.11 2002/09/06 19:43:54 deraadt Exp $ */ /*- * Copyright (c) 1993 John Brezak @@ -29,7 +29,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: rusersd.c,v 1.10 2002/07/15 23:47:57 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: rusersd.c,v 1.11 2002/09/06 19:43:54 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -64,7 +64,8 @@ cleanup(int signo) int main(int argc, char *argv[]) { - int sock = 0, proto = 0, fromlen; + int sock = 0, proto = 0; + socklen_t fromlen; struct sockaddr_in from; struct passwd *pw; SVCXPRT *transp; |