summaryrefslogtreecommitdiff
path: root/usr.sbin/radiusd
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2019-03-31 07:57:31 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2019-03-31 07:57:31 +0000
commit53b9b7a20f938adffd57270cdd387d59c29a93b1 (patch)
tree9b5b612b43afaef4b0156ed88a5bc8519575786c /usr.sbin/radiusd
parentc71808d3471de87e2cade0d328391e45b60be27a (diff)
Fix white spaces and a typo.
Diffstat (limited to 'usr.sbin/radiusd')
-rw-r--r--usr.sbin/radiusd/radiusd_bsdauth.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/radiusd/radiusd_bsdauth.c b/usr.sbin/radiusd/radiusd_bsdauth.c
index ccdcdb91a44..bfd844968f6 100644
--- a/usr.sbin/radiusd/radiusd_bsdauth.c
+++ b/usr.sbin/radiusd/radiusd_bsdauth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: radiusd_bsdauth.c,v 1.9 2019/03/31 04:54:20 yasuoka Exp $ */
+/* $OpenBSD: radiusd_bsdauth.c,v 1.10 2019/03/31 07:57:30 yasuoka Exp $ */
/*
* Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
@@ -92,7 +92,7 @@ main(int argc, char *argv[])
switch (ch) {
case 'M':
module_bsdauth_main();
- /* never return, not reached here */
+ /* never return, not rearched here */
break;
default:
break;
@@ -101,8 +101,8 @@ main(int argc, char *argv[])
argc -= optind;
argv += optind;
- if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC,
- PF_UNSPEC, pairsock) == -1)
+ if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, PF_UNSPEC,
+ pairsock) == -1)
err(EXIT_FAILURE, "socketpair");
openlog(NULL, LOG_PID, LOG_DAEMON);
@@ -178,8 +178,8 @@ main(int argc, char *argv[])
break;
}
args = (struct auth_groupcheck_args *)imsg.data;
- if (datalen < sizeof(
- struct auth_groupcheck_args) +
+ if (datalen <
+ sizeof(struct auth_groupcheck_args) +
args->userlen + args->grouplen) {
syslog(LOG_ERR, "Short message");
break;