bug 245689 ftp channels report NS_ERROR_FAILURE when resuming fails, instead of NS_ERROR_NOT_RESUMABLE
r=bbaetz sr=darin git-svn-id: svn://10.0.0.236/trunk@157772 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -872,7 +872,8 @@ nsFtpState::Process()
|
||||
case FTP_R_MDTM:
|
||||
mState = R_mdtm();
|
||||
|
||||
if (FTP_ERROR == mState)
|
||||
// Don't want to overwrite a more explicit status code
|
||||
if (FTP_ERROR == mState && NS_SUCCEEDED(mInternalError))
|
||||
mInternalError = NS_ERROR_FAILURE;
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user