Fix bug that makes lines stick together
authorLukas Jiriste <ljiriste@student.42prague.com>
Fri, 13 Oct 2023 14:03:41 +0000 (16:03 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Fri, 13 Oct 2023 14:03:41 +0000 (16:03 +0200)
commit9d7a077a055bc9aa3769c281ba360cf91cd390de
tree0b247e4d30dbe2dd41c85e68e32f087ce63b7a6b
parentcc89352ce56e3726af949e75ea5332031955ff82
Fix bug that makes lines stick together

This bug is caused by ignoring newline character that appears exactly
on the end of buffer. It is ignored because of a wrong logical operator.
get_next_line.c