diff options
Diffstat (limited to 'src/net/imap/IMAPConnection.cpp')
| -rw-r--r-- | src/net/imap/IMAPConnection.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/net/imap/IMAPConnection.cpp b/src/net/imap/IMAPConnection.cpp index 613b5328..066b5ab5 100644 --- a/src/net/imap/IMAPConnection.cpp +++ b/src/net/imap/IMAPConnection.cpp @@ -633,8 +633,6 @@ void IMAPConnection::send(bool tag, const string& what, bool end) if (tag) { - ++(*m_tag); - oss << string(*m_tag); oss << " "; } @@ -648,8 +646,6 @@ void IMAPConnection::send(bool tag, const string& what, bool end) #else if (tag) { - ++(*m_tag); - m_socket->send(*m_tag); m_socket->send(" "); } @@ -661,6 +657,9 @@ void IMAPConnection::send(bool tag, const string& what, bool end) m_socket->send("\r\n"); } #endif + + if (tag) + ++(*m_tag); } |
