mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-17 07:13:27 +02:00
Use NEWLINE_CRLF
This commit is contained in:
parent
723704ad16
commit
605866f1ec
@ -59,7 +59,7 @@ struct ElementTraits<Error>
|
||||
|
||||
static std::string toString(const Error& value)
|
||||
{
|
||||
return marker + value.getMessage() + "\r\n";
|
||||
return marker + value.getMessage() + LineEnding::NEWLINE_CRLF;
|
||||
}
|
||||
};
|
||||
|
||||
@ -69,6 +69,9 @@ void Type<Error>::read(RedisSocket& socket)
|
||||
{
|
||||
std::string s;
|
||||
socket.readLine(s);
|
||||
|
||||
std::cout << s << std::endl;
|
||||
|
||||
_value = s;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user