diff options
author | 2001-01-31 19:26:51 +0000 | |
---|---|---|
committer | 2001-01-31 19:26:51 +0000 | |
commit | c264e6d9ebf785482ac489e761206bbe2cbacf90 (patch) | |
tree | f773392c809739bb06c5acd52593843d18211968 /usr.bin/man/man.c | |
parent | ssh.com-2.0.1x does not send additional info in CHANNEL_OPEN_FAILURE messages; bug report from edmundo@rano.org (diff) | |
download | wireguard-openbsd-c264e6d9ebf785482ac489e761206bbe2cbacf90.tar.xz wireguard-openbsd-c264e6d9ebf785482ac489e761206bbe2cbacf90.zip |
KNF
Diffstat (limited to 'usr.bin/man/man.c')
-rw-r--r-- | usr.bin/man/man.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/usr.bin/man/man.c b/usr.bin/man/man.c index 738b6246556..21add15672e 100644 --- a/usr.bin/man/man.c +++ b/usr.bin/man/man.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man.c,v 1.15 1999/10/18 01:46:36 aaron Exp $ */ +/* $OpenBSD: man.c,v 1.16 2001/01/31 19:26:51 deraadt Exp $ */ /* $NetBSD: man.c,v 1.7 1995/09/28 06:05:34 tls Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)man.c 8.17 (Berkeley) 1/31/95"; #else -static char rcsid[] = "$OpenBSD: man.c,v 1.15 1999/10/18 01:46:36 aaron Exp $"; +static char rcsid[] = "$OpenBSD: man.c,v 1.16 2001/01/31 19:26:51 deraadt Exp $"; #endif #endif /* not lint */ @@ -561,7 +561,8 @@ build_page(fmt, pathp) intmpp = addlist("_intmp"); /* Move to the printf(3) format string. */ - for (; *fmt && isspace(*fmt); ++fmt); + for (; *fmt && isspace(*fmt); ++fmt) + ; /* * Get a temporary file and build a version of the file @@ -681,8 +682,10 @@ check_pager(name) * if the user uses "more", we make it "more -s"; watch out for * PAGER = "mypager /usr/ucb/more" */ - for (p = name; *p && !isspace(*p); ++p); - for (; p > name && *p != '/'; --p); + for (p = name; *p && !isspace(*p); ++p) + ; + for (; p > name && *p != '/'; --p) + ; if (p != name) ++p; |