mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
MFC r301235:
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)
This commit is contained in:
parent
43d6a8ab09
commit
67f069c73e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=301506
@ -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