Skip to content

Commit

Permalink
fixed the utf8 change actually breaking everything because newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno02468 committed May 6, 2024
1 parent 160e8e4 commit a5f6d4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions f06/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,9 @@ impl OnePassParser {
if buf.is_empty() {
break;
}
buf.pop();
let line = String::from_utf8_lossy(&buf);
dbg!(&line);
match parser.consume(&line) {
ParserResponse::PassedToDecoder(bt, lr) if lr.abnormal() => warn!(
"Got abnormal response {:?} from {} while parsing line {}!",
Expand Down

0 comments on commit a5f6d4c

Please sign in to comment.