mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
trunk/branch integration: fix warning
This commit is contained in:
@@ -117,7 +117,7 @@ int LineEndingConverterStreamBuf::writeToDevice(char c)
|
|||||||
{
|
{
|
||||||
poco_assert_dbg (_pOstr);
|
poco_assert_dbg (_pOstr);
|
||||||
|
|
||||||
if (c == '\r' || c == '\n' && _lastChar != '\r')
|
if (c == '\r' || (c == '\n' && _lastChar != '\r'))
|
||||||
_pOstr->write(_newLine.data(), (std::streamsize) _newLine.length());
|
_pOstr->write(_newLine.data(), (std::streamsize) _newLine.length());
|
||||||
if (c != '\n' && c != '\r')
|
if (c != '\n' && c != '\r')
|
||||||
_pOstr->put(c);
|
_pOstr->put(c);
|
||||||
|
|||||||
Reference in New Issue
Block a user