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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user