aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}