Closed Bug 778109 Opened 12 years ago Closed 8 years ago

nsFtpState methods can return FTP_STATE instead of nsresult

Categories

(Core Graveyard :: Networking: FTP, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ayg, Unassigned)

References

Details

nsFtpState::S_list and nsFtpState::S_pasv are supposed to return nsresult, but both have codepaths that return FTP_ERROR.  This is < 0x80000000 and so will register as NS_SUCCEEDED(), which is probably not what was intended.
We are in a period where ftp is clearly deprecated and in general, making changes to the code is riskier than letting it ride unless there is a patch and reviewer available to make a good judgment about it. So I'm going to wontfix ftp bugs related to enhancements, interop errors, etc.. We will be better off putting our energy into including a different js based ftp stack.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.