vlc_stream_ReadLine: fix trimming
commit32ff0bbcada5e6d5c0e92e684b454764241fafa0
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 24 May 2017 19:07:05 +0000 (24 22:07 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 24 May 2017 19:07:05 +0000 (24 22:07 +0300)
tree96cf9147c0b7d7c52761f22c29178a71f0bca112
parentdbb8a1891fd41938897b66d58aa8b012695d7f30
vlc_stream_ReadLine: fix trimming

Removal of CR or LF final characters relied on the off-by-one bug fixed
in the previous changest, and no longer works. This adjusts it
accordingly.
src/input/stream.c