don't allow failure to logon to stop going offline process r=naving, sr=sspitzer 115405

git-svn-id: svn://10.0.0.236/trunk@114428 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bienvenu%netscape.com
2002-02-13 20:54:39 +00:00
parent 8e52360527
commit 08ac6b4ae8

View File

@@ -124,7 +124,10 @@ nsresult nsMsgOfflineManager::StopRunning(nsresult exitStatus)
nsresult nsMsgOfflineManager::AdvanceToNextState(nsresult exitStatus)
{
if (NS_FAILED(exitStatus))
// NS_BINDING_ABORTED is used for the user pressing stop, which
// should cause us to abort the offline process. Other errors
// should allow us to continue.
if (exitStatus == NS_BINDING_ABORTED)
{
return StopRunning(exitStatus);
}