aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2010-01-20 08:42:47 +0000
committerVincent Richard <[email protected]>2010-01-20 08:42:47 +0000
commitb94fe09cae4df297d8bb690f428eabe93decda85 (patch)
treef5b42519200f966f3595386bce59ab631a0e2ae1 /src
parentMakes 'To' optional, like 'Cc' and 'Bcc'. An exception is still thrown if the... (diff)
downloadvmime-b94fe09cae4df297d8bb690f428eabe93decda85.tar.gz
vmime-b94fe09cae4df297d8bb690f428eabe93decda85.zip
Fixed bug #2933667: CRLF filter broken.
Diffstat (limited to 'src')
-rw-r--r--src/utility/filteredStream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utility/filteredStream.cpp b/src/utility/filteredStream.cpp
index 619f9da8..c1b01ef5 100644
--- a/src/utility/filteredStream.cpp
+++ b/src/utility/filteredStream.cpp
@@ -231,8 +231,8 @@ void CRLFToLFFilteredOutputStream::write
if (previousChar == '\r')
{
- if (pos != data)
- m_stream.write(start, pos - 1 - data); // do not write \r
+ if (pos != start)
+ m_stream.write(start, pos - 1 - start); // do not write \r
m_stream.write("\n", 1);