summaryrefslogtreecommitdiff
path: root/libexec/fingerd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-06 19:43:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-06 19:43:55 +0000
commitbe77049622266cc17c3bdcf5a5133d4d840c017e (patch)
tree961945ab4f9c5985e18ccf2b03d4c0e4187fce58 /libexec/fingerd
parent11cebf79245d373cc7a70e7f78fff2b465e010f2 (diff)
use socklen_t more; henning ok
Diffstat (limited to 'libexec/fingerd')
-rw-r--r--libexec/fingerd/fingerd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/fingerd/fingerd.c b/libexec/fingerd/fingerd.c
index 168bafb2384..c2b434e53ce 100644
--- a/libexec/fingerd/fingerd.c
+++ b/libexec/fingerd/fingerd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fingerd.c,v 1.28 2002/07/03 23:39:03 deraadt Exp $ */
+/* $OpenBSD: fingerd.c,v 1.29 2002/09/06 19:43:54 deraadt Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "from: @(#)fingerd.c 8.1 (Berkeley) 6/4/93";
#else
-static char rcsid[] = "$OpenBSD: fingerd.c,v 1.28 2002/07/03 23:39:03 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: fingerd.c,v 1.29 2002/09/06 19:43:54 deraadt Exp $";
#endif
#endif /* not lint */
@@ -128,7 +128,7 @@ main(int argc, char *argv[])
if (logging) {
struct sockaddr_storage ss;
struct sockaddr *sa;
- int sval;
+ socklen_t sval;
sval = sizeof(ss);
if (getpeername(0, (struct sockaddr *)&ss, &sval) < 0) {