Bug 463390 - Failed to set IMAP mail server "security settings" in preference window. r=standard8, sr=bienvenu
authorBoying Lu <brian.lu@sun.com>
Thu, 06 Nov 2008 23:48:54 +0200
changeset 1032 16dd1037ca4d4c1536103d563744fe6e09fcba44
parent 1031 5748fe6d63df4fcd393fc01fa91c14cfc6451fa4
child 1033 74a1fb12f1bff9e7a269bbf6f4783cb4a6bab06d
push idunknown
push userunknown
push dateunknown
reviewersstandard8, bienvenu
bugs463390
Bug 463390 - Failed to set IMAP mail server "security settings" in preference window. r=standard8, sr=bienvenu
mailnews/base/util/nsMsgIncomingServer.cpp
--- a/mailnews/base/util/nsMsgIncomingServer.cpp
+++ b/mailnews/base/util/nsMsgIncomingServer.cpp
@@ -1529,16 +1529,17 @@ NS_IMETHODIMP
 nsMsgIncomingServer::GetIsSecure(PRBool *aIsSecure)
 {
   NS_ENSURE_ARG_POINTER(aIsSecure);
   PRInt32 socketType;
   nsresult rv = GetSocketType(&socketType);
   NS_ENSURE_SUCCESS(rv,rv);
   *aIsSecure = (socketType == nsIMsgIncomingServer::alwaysUseTLS ||
                 socketType == nsIMsgIncomingServer::useSSL);
+  return NS_OK;
 }
 
 NS_IMETHODIMP
 nsMsgIncomingServer::SetIsSecure(PRBool aIsSecure)
 {
   PRBool isSecure;
   nsresult rv = GetIsSecure(&isSecure);
   NS_ENSURE_SUCCESS(rv,rv);