Open Bug 1900539 Opened 8 months ago Updated 7 months ago

Kill nsMsgProtocol::OpenFileSocket().

Categories

(Thunderbird :: General, task)

Tracking

(Not tracked)

People

(Reporter: benc, Unassigned)

References

(Blocks 1 open bug)

Details

nsMsgProtocol::OpenFileSocket() is only called from one place, in nsMailboxProtocol.

I'd be inclined to either inline it, or at least move it from nsMsgProtocol into nsMailboxProtocol.
Also, it shouldn't use the slicedstream at all.
Also, it doesn't need offset or length params - it should just stream the whole file, which is the way it's used for for .eml files.

You need to log in before you can comment on or make changes to this bug.