From 30f08258773437d8989c4870b031fdb4017c0c4a Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Fri, 11 Jul 2008 21:27:48 +0000 Subject: [PATCH] Fixed bad buffer length causing duplicate data (Zarafa). --- src/utility/filteredStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utility/filteredStream.cpp b/src/utility/filteredStream.cpp index d59fdcc5..74f6a1e8 100644 --- a/src/utility/filteredStream.cpp +++ b/src/utility/filteredStream.cpp @@ -150,7 +150,7 @@ void dotFilteredOutputStream::write if (previousChar == '\n') { - m_stream.write(start, pos - data); + m_stream.write(start, pos - start); m_stream.write("..", 2); start = pos + 1;