mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
1 parent
e9f7347122
commit
d155c93ae4
1 file changed
+1
-1
@@ -504,7 +504,7 @@ mod decl {
|
||||
}
|
||||
in_idx += 1;
|
||||
}
|
||||
if buflen > 0 && in_idx < buflen && buf[in_idx - 1] == b'\r' {
|
||||
if in_idx > 0 && in_idx < buflen && buf[in_idx - 1] == b'\r' {
|
||||
crlf = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user