login names starting with "t" were trashed; original bug report by
authorderaadt <deraadt@openbsd.org>
Thu, 11 Jan 1996 17:41:53 +0000 (17:41 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 11 Jan 1996 17:41:53 +0000 (17:41 +0000)
<tommy@mdc.tijp.ti.com>. from soda@sra.co.jp; netbsd pr#1926

usr.sbin/lpr/pac/pac.c

index cadaba2..fb0bf67 100644 (file)
@@ -210,7 +210,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"))