aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-02-12 16:54:36 +0000
committerVincent Richard <[email protected]>2013-02-12 16:54:36 +0000
commitfeabba44702cf0720535b3af8e1d0ca89ae2b63d (patch)
tree110660060dd5080f5a3a77a50568024d0b88f699 /src
parentRewrote SMTP command sending. Better code for pipelining. Report full command... (diff)
downloadvmime-feabba44702cf0720535b3af8e1d0ca89ae2b63d.tar.gz
vmime-feabba44702cf0720535b3af8e1d0ca89ae2b63d.zip
Unit tests for SMTPCommand and SMTPCommandSet. Fixed SMTPCommandSet::isFinished().
Diffstat (limited to 'src')
-rw-r--r--src/net/smtp/SMTPCommandSet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/smtp/SMTPCommandSet.cpp b/src/net/smtp/SMTPCommandSet.cpp
index 8644ca48..0454e184 100644
--- a/src/net/smtp/SMTPCommandSet.cpp
+++ b/src/net/smtp/SMTPCommandSet.cpp
@@ -126,7 +126,7 @@ const string SMTPCommandSet::getText() const
const bool SMTPCommandSet::isFinished() const
{
- return (m_pipeline && m_started) || (m_commands.size() == 0);
+ return (m_pipeline && m_started) || (m_commands.size() == 0 && m_started);
}