diff options
| author | Vincent Richard <[email protected]> | 2005-11-30 12:12:01 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2005-11-30 12:12:01 +0000 |
| commit | aba576a3a9ba20d002d3abb9260b28ce3b6cea27 (patch) | |
| tree | 2e6e35782c092da1eb8602c936f992936d94bd4e /src | |
| parent | Detailed instruction for sending message. (diff) | |
| download | vmime-aba576a3a9ba20d002d3abb9260b28ce3b6cea27.tar.gz vmime-aba576a3a9ba20d002d3abb9260b28ce3b6cea27.zip | |
Fixed bug when disconnecting SMTP.
Diffstat (limited to 'src')
| -rw-r--r-- | src/net/smtp/SMTPTransport.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/net/smtp/SMTPTransport.cpp b/src/net/smtp/SMTPTransport.cpp index 5aeb15f1..3c70e34a 100644 --- a/src/net/smtp/SMTPTransport.cpp +++ b/src/net/smtp/SMTPTransport.cpp @@ -471,7 +471,14 @@ void SMTPTransport::disconnect() void SMTPTransport::internalDisconnect() { - sendRequest("QUIT"); + try + { + sendRequest("QUIT"); + } + catch (exception&) + { + // Not important + } m_socket->disconnect(); m_socket = NULL; |
