mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
strip CRLF line breaks from read CLI commands. This should fix the cli interface for people accessing it via telnet.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2317 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
f49df7a3b0
commit
264385aae4
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ static void scan_for_lines(pa_ioline *l, size_t skip) {
|
|||
l->rbuf_index = 0;
|
||||
|
||||
if (l->callback)
|
||||
l->callback(l, p, l->userdata);
|
||||
l->callback(l, pa_strip_nl(p), l->userdata);
|
||||
|
||||
skip = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue