From a50c8842ae29b5472a770cda5d48ee9448f29058 Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Mon, 18 Dec 2006 23:24:47 +0000 Subject: [PATCH] Accidentally introduced a bug for non-SSL POP accounts, which this fixes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19558 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp b/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp index a51d79f13f..d1200966c1 100644 --- a/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp +++ b/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp @@ -55,7 +55,7 @@ POP3Protocol::POP3Protocol(BMessage *settings, BMailChainRunner *status) POP3Protocol::~POP3Protocol() { #ifdef USESSL - if(use_ssl && ssl) + if( (use_ssl && ssl) || !use_ssl) SendCommand("QUIT" CRLF); #else SendCommand("QUIT" CRLF);