diff options
author | Vincent Richard <[email protected]> | 2005-11-07 11:55:40 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-11-07 11:55:40 +0000 |
commit | 5a303de801a81048e2521f71c127839c0537c350 (patch) | |
tree | 271daf1363ee928e37fb2fe1b6813b6e54f4a68b | |
parent | Started version 0.8.1. (diff) | |
download | vmime-5a303de801a81048e2521f71c127839c0537c350.tar.gz vmime-5a303de801a81048e2521f71c127839c0537c350.zip |
Fixed bug in disconnect() when authentication is not needed (thanks to Benjamin Biron).
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/net/smtp/SMTPTransport.cpp | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -2,6 +2,11 @@ VERSION 0.8.1cvs ================ +2005-11-07 Vincent Richard <[email protected]> + + * SMTPTransport.cpp: fixed bug in disconnect() when authentication is + not needed (thanks to Benjamin Biron). + 2005-11-06 Vincent Richard <[email protected]> * Started version 0.8.1. diff --git a/src/net/smtp/SMTPTransport.cpp b/src/net/smtp/SMTPTransport.cpp index bb586d78..5aeb15f1 100644 --- a/src/net/smtp/SMTPTransport.cpp +++ b/src/net/smtp/SMTPTransport.cpp @@ -193,6 +193,8 @@ void SMTPTransport::connect() // Authentication if (GET_PROPERTY(bool, PROPERTY_OPTIONS_NEEDAUTH)) authenticate(); + else + m_authentified = true; } |