summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/lpd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-19 01:24:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-19 01:24:15 +0000
commitf9c940c91232305258bbf7ce0971bb335764655d (patch)
tree4396789142c6e5802f53c7d4a886ccf424e89c66 /usr.sbin/lpr/lpd
parent6fd2d26e954fe36fd50323d30c6d1cdc093ef9d9 (diff)
stretch some ugly while();
Diffstat (limited to 'usr.sbin/lpr/lpd')
-rw-r--r--usr.sbin/lpr/lpd/recvjob.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/lpr/lpd/recvjob.c b/usr.sbin/lpr/lpd/recvjob.c
index 4962d4175ec..fb16b4e0ffe 100644
--- a/usr.sbin/lpr/lpd/recvjob.c
+++ b/usr.sbin/lpr/lpd/recvjob.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: recvjob.c,v 1.21 2002/06/08 01:53:43 millert Exp $ */
+/* $OpenBSD: recvjob.c,v 1.22 2002/06/19 01:24:14 deraadt Exp $ */
/* $NetBSD: recvjob.c,v 1.14 2001/12/04 22:52:44 christos Exp $ */
/*
@@ -45,7 +45,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)recvjob.c 8.2 (Berkeley) 4/27/95";
#else
-static const char rcsid[] = "$OpenBSD: recvjob.c,v 1.21 2002/06/08 01:53:43 millert Exp $";
+static const char rcsid[] = "$OpenBSD: recvjob.c,v 1.22 2002/06/19 01:24:14 deraadt Exp $";
#endif
#endif /* not lint */
@@ -345,7 +345,8 @@ rcleanup(int signo)
do {
do
(void)unlink(dfname);
- while (dfname[2]-- != 'A');
+ while (dfname[2]-- != 'A')
+ ;
dfname[2] = 'z';
} while (dfname[0]-- != 'd');
}