dhclient(1): correct obvious mismatch in get_char().
Correct switch between current and previous line buffers when encountering a carriage return in the input. CID: 1305719 Obtained from: OpenBSD (CVS rev. 1.30) MFC after: 3 days
This commit is contained in:
parent
46e7e6bd41
commit
32ceeb31a1
@ -97,8 +97,8 @@ get_char(FILE *cfile)
|
||||
cur_line = line2;
|
||||
prev_line = line1;
|
||||
} else {
|
||||
cur_line = line2;
|
||||
prev_line = line1;
|
||||
cur_line = line1;
|
||||
prev_line = line2;
|
||||
}
|
||||
line++;
|
||||
lpos = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user