mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
replace PR_ASSERT with NS_ASSERTION so debug builds don't abort, no bug
This commit is contained in:
parent
9903faf813
commit
ff3b38d9fb
@ -490,7 +490,7 @@ MimeMultipart_close_child(MimeObject *object)
|
||||
MimeHeaders_free(mult->hdrs);
|
||||
mult->hdrs = 0;
|
||||
|
||||
PR_ASSERT(cont->nchildren > 0);
|
||||
NS_ASSERTION(cont->nchildren > 0, "badly formed mime message");
|
||||
if (cont->nchildren > 0)
|
||||
{
|
||||
MimeObject *kid = cont->children[cont->nchildren-1];
|
||||
|
Loading…
Reference in New Issue
Block a user