diff options
author | Vincent Richard <[email protected]> | 2013-02-12 16:54:36 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-02-12 16:54:36 +0000 |
commit | feabba44702cf0720535b3af8e1d0ca89ae2b63d (patch) | |
tree | 110660060dd5080f5a3a77a50568024d0b88f699 /src | |
parent | Rewrote SMTP command sending. Better code for pipelining. Report full command... (diff) | |
download | vmime-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.cpp | 2 |
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); } |