summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/pac
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-07-17 13:14:01 +0000
committerpeter <peter@FreeBSD.org>1995-07-17 13:14:01 +0000
commit8ae50041389e7f14d82cea30f8c87ee6c4f59ed0 (patch)
treef585788cfe4553d8f4884f0b85fedcf81102bf06 /usr.sbin/lpr/pac
parent13a2f9572b914e811a78fa9efc5edd056a1b2e3f (diff)
downloadFreeBSD-src-8ae50041389e7f14d82cea30f8c87ee6c4f59ed0.zip
FreeBSD-src-8ae50041389e7f14d82cea30f8c87ee6c4f59ed0.tar.gz
pac had a grudge against usernames starting with 't', because of a typo.
Reviewed by: Submitted by: Kenji Tomita Obtained from:
Diffstat (limited to 'usr.sbin/lpr/pac')
-rw-r--r--usr.sbin/lpr/pac/pac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/lpr/pac/pac.c b/usr.sbin/lpr/pac/pac.c
index 65d3e86..17e207e 100644
--- a/usr.sbin/lpr/pac/pac.c
+++ b/usr.sbin/lpr/pac/pac.c
@@ -206,7 +206,7 @@ account(acct)
while (fgets(linebuf, BUFSIZ, acct) != NULL) {
cp = linebuf;
- while (any(*cp, " t\t"))
+ while (any(*cp, " \t"))
cp++;
t = atof(cp);
while (any(*cp, ".0123456789"))
OpenPOWER on IntegriCloud