getty: don't try to detect parity on local lines

(Joakim Tjernlund <Joakim.Tjernlund at transmode.se>)
This commit is contained in:
Denis Vlasenko 2008-02-02 19:05:36 +00:00
parent 30eb319103
commit 95dc672326

View File

@ -435,7 +435,7 @@ static char *get_logname(char *logname, unsigned size_logname,
/* Do parity bit handling. */
ascval = c & 0177;
if (c != ascval) { /* "parity" bit on ? */
if (!(op->flags & F_LOCAL) && (c != ascval)) { /* "parity" bit on ? */
bits = 1;
mask = 1;
while (mask & 0177) {