Closed Bug 182275 Opened 22 years ago Closed 21 years ago

IMAP_OUT_OF_MEMORY is negative

Categories

(MailNews Core :: Networking: IMAP, defect)

defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mozilla-bugs, Assigned: Bienvenu)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

nsImapServerResponseParser.cpp: In member function `virtual void
   nsImapServerResponseParser::HandleMemoryFailure()':
nsImapServerResponseParser.cpp:289: warning: passing negative value `-1000' for
   argument 1 of `void nsImapProtocol::AlertUserEventUsingId(unsigned int)'

The warning is caused by the fact that AlertUserEventUsingId is called with
IMAP_OUT_OF_MEMORY and IMAP_OUT_OF_MEMORY is currently defined to be -1000.
QA Contact: huang → gchan
*** Bug 211231 has been marked as a duplicate of this bug. ***
Blocks: buildwarning
Attached patch proposed fixSplinter Review
fix checked in, r/sr=mscott.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Verifying, the nsImapServerResponseParser.cpp warnings went away on brad TBox.
Status: RESOLVED → VERIFIED
OS: Linux → All
Hardware: PC → All
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: