diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-25 19:22:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-25 19:22:09 +0000 |
commit | 5a03830fa3de2e3a47a09fff5c739a03c412cbc6 (patch) | |
tree | afbaad535d684f5ae6337e38f6f5254455a94f66 /libexec/fingerd | |
parent | 98f744d503ff2a8b62f222bf4891f35ac4edceaa (diff) |
KNF
Diffstat (limited to 'libexec/fingerd')
-rw-r--r-- | libexec/fingerd/fingerd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/fingerd/fingerd.c b/libexec/fingerd/fingerd.c index ad98e3a7e1d..5ab4bac93ea 100644 --- a/libexec/fingerd/fingerd.c +++ b/libexec/fingerd/fingerd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fingerd.c,v 1.19 2000/08/18 05:28:31 itojun Exp $ */ +/* $OpenBSD: fingerd.c,v 1.20 2001/01/25 19:22:08 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.19 2000/08/18 05:28:31 itojun Exp $"; +static char rcsid[] = "$OpenBSD: fingerd.c,v 1.20 2001/01/25 19:22:08 deraadt Exp $"; #endif #endif /* not lint */ @@ -148,7 +148,7 @@ main(argc, argv) if (logging) syslog(LOG_NOTICE, "query from %s: `%.*s'", hname, - strcspn(line, "\r\n"), line); + (int)strcspn(line, "\r\n"), line); /* * Note: we assume that finger(1) will treat "--" as end of |