mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-08 13:51:43 +02:00
move string utils in namespace utils::string
This commit is contained in:
parent
b8f69ce58f
commit
fa3f78b08d
12 changed files with 178 additions and 133 deletions
|
@ -22,6 +22,7 @@
|
|||
#include <fcntl.h>
|
||||
#include "processStream.h"
|
||||
#include "common/snapException.h"
|
||||
#include "common/utils/string_utils.h"
|
||||
#include "common/utils.h"
|
||||
#include "common/log.h"
|
||||
|
||||
|
@ -120,7 +121,7 @@ void ProcessStream::onStderrMsg(const char* buffer, size_t n)
|
|||
{
|
||||
if (logStderr_)
|
||||
{
|
||||
string line = trim_copy(string(buffer, n));
|
||||
string line = utils::string::trim_copy(string(buffer, n));
|
||||
if ((line.find('\0') == string::npos) && !line.empty())
|
||||
logO << "(" << getName() << ") " << line << "\n";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue