aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorAndreas Schulz <ats@FreeBSD.org>1994-11-18 22:40:11 +0000
committerAndreas Schulz <ats@FreeBSD.org>1994-11-18 22:40:11 +0000
commit053efb2d1218885dee0fd90a9fe293d077f60c52 (patch)
tree4c36ccb84014442629b2ffff347588d3cac1238f /libexec
parentdc2e984f57778e2a5d90c93a9aa045dec93fb5f4 (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rpc.rusersd/rusersd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/rpc.rusersd/rusersd.c b/libexec/rpc.rusersd/rusersd.c
index 525a57525d07..d2a0d840ac4a 100644
--- a/libexec/rpc.rusersd/rusersd.c
+++ b/libexec/rpc.rusersd/rusersd.c
@@ -32,7 +32,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: rusersd.c,v 1.1 1993/09/16 00:34:49 jtc Exp $";
+static char rcsid[] = "$Id: rusersd.c,v 1.1.1.1 1994/08/28 14:53:45 csgr Exp $";
#endif /* not lint */
#include <stdio.h>
@@ -68,6 +68,7 @@ main(argc, argv)
/*
* See if inetd started us
*/
+ fromlen = sizeof(from);
if (getsockname(0, (struct sockaddr *)&from, &fromlen) < 0) {
from_inetd = 0;
sock = RPC_ANYSOCK;