aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2005-11-07 11:55:40 +0000
committerVincent Richard <[email protected]>2005-11-07 11:55:40 +0000
commit5a303de801a81048e2521f71c127839c0537c350 (patch)
tree271daf1363ee928e37fb2fe1b6813b6e54f4a68b
parentStarted version 0.8.1. (diff)
downloadvmime-5a303de801a81048e2521f71c127839c0537c350.tar.gz
vmime-5a303de801a81048e2521f71c127839c0537c350.zip
Fixed bug in disconnect() when authentication is not needed (thanks to Benjamin Biron).
-rw-r--r--ChangeLog5
-rw-r--r--src/net/smtp/SMTPTransport.cpp2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 38a7c02a..37767e4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
}