mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-06 19:27:42 +02:00
trim log lines, fixed sampleformat
This commit is contained in:
parent
dd29f87951
commit
5dc3a9c0b1
2 changed files with 26 additions and 3 deletions
|
@ -117,7 +117,9 @@ void ProcessStream::onStderrMsg(const char* buffer, size_t n)
|
|||
{
|
||||
if (logStderr_)
|
||||
{
|
||||
logO << string(buffer, n);
|
||||
string line = trim_copy(string(buffer, n));
|
||||
if (line.find('\0') == string::npos)
|
||||
logO << line << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue