From f9c940c91232305258bbf7ce0971bb335764655d Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 19 Jun 2002 01:24:15 +0000 Subject: stretch some ugly while(); --- usr.sbin/lpr/lpd/recvjob.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'usr.sbin/lpr/lpd') 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'); } -- cgit v1.2.3