replace PR_ASSERT with NS_ASSERTION so debug builds don't abort, no bug

This commit is contained in:
bienvenu%nventure.com 2004-10-26 15:32:59 +00:00
parent 9903faf813
commit ff3b38d9fb

View File

@ -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];