Bug 165090 - spurious "Server has disconnected" messages
r/sr=bienvenu git-svn-id: svn://10.0.0.236/trunk@135332 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1506,8 +1506,10 @@ NS_IMETHODIMP nsImapProtocol::OnStopRequest(nsIRequest *request, nsISupports *ct
|
||||
// but the situation may still be unexpected
|
||||
else if (GetConnectionStatus() >= 0 && !DeathSignalReceived())
|
||||
{
|
||||
// alert the user that the connection was closed unexpectedly
|
||||
AlertUserEventUsingId(IMAP_SERVER_DISCONNECTED);
|
||||
// alert the user that the connection was closed unexpectedly,
|
||||
// but only if we are running an URL
|
||||
if (m_runningUrl)
|
||||
AlertUserEventUsingId(IMAP_SERVER_DISCONNECTED);
|
||||
}
|
||||
|
||||
PR_CEnterMonitor(this);
|
||||
|
||||
Reference in New Issue
Block a user