Fixed bug in disconnect() when authentication is not needed (thanks to Benjamin Biron).

This commit is contained in:
Vincent Richard 2005-11-07 11:55:40 +00:00
parent 476cec86ca
commit 5a303de801
2 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,11 @@
VERSION 0.8.1cvs
================
2005-11-07 Vincent Richard <vincent@vincent-richard.net>
* SMTPTransport.cpp: fixed bug in disconnect() when authentication is
not needed (thanks to Benjamin Biron).
2005-11-06 Vincent Richard <vincent@vincent-richard.net>
* Started version 0.8.1.

View File

@ -193,6 +193,8 @@ void SMTPTransport::connect()
// Authentication
if (GET_PROPERTY(bool, PROPERTY_OPTIONS_NEEDAUTH))
authenticate();
else
m_authentified = true;
}