mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 02:53:10 +01:00
Use NEWLINE_CRLF
This commit is contained in:
@@ -59,7 +59,7 @@ struct ElementTraits<Error>
|
|||||||
|
|
||||||
static std::string toString(const Error& value)
|
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;
|
std::string s;
|
||||||
socket.readLine(s);
|
socket.readLine(s);
|
||||||
|
|
||||||
|
std::cout << s << std::endl;
|
||||||
|
|
||||||
_value = s;
|
_value = s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user