change from XP_ASSERT to PR_ASSERT
git-svn-id: svn://10.0.0.236/trunk@46320 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9754c2a557
commit
57b084038e
@ -769,7 +769,7 @@ NS_IMETHODIMP nsMsgLocalMailFolder::Adopt(nsIMsgFolder *srcFolder, PRUint32 *out
|
||||
{
|
||||
#ifdef HAVE_PORT
|
||||
nsresult err = NS_OK;
|
||||
XP_ASSERT (srcFolder->GetType() == GetType()); // we can only adopt the same type of folder
|
||||
PR_ASSERT (srcFolder->GetType() == GetType()); // we can only adopt the same type of folder
|
||||
MSG_FolderInfoMail *mailFolder = (MSG_FolderInfoMail*) srcFolder;
|
||||
|
||||
if (srcFolder == this)
|
||||
@ -806,7 +806,7 @@ NS_IMETHODIMP nsMsgLocalMailFolder::Adopt(nsIMsgFolder *srcFolder, PRUint32 *out
|
||||
// Add the folder to our tree in the right sorted position
|
||||
if (NS_OK == err)
|
||||
{
|
||||
XP_ASSERT(m_subFolders->FindIndex(0, srcFolder) == -1);
|
||||
PR_ASSERT(m_subFolders->FindIndex(0, srcFolder) == -1);
|
||||
*pOutPos = m_subFolders->Add (srcFolder);
|
||||
}
|
||||
|
||||
|
||||
@ -400,7 +400,7 @@ PRInt32 nsMsgMailboxParser::HandleLine(char *line, PRUint32 lineLength)
|
||||
if (line[0] == 'F' && IsEnvelopeLine(line, lineLength))
|
||||
{
|
||||
// **** This used to be
|
||||
// XP_ASSERT (m_parseMsgState->m_state == nsMailboxParseBodyState);
|
||||
// PR_ASSERT (m_parseMsgState->m_state == nsMailboxParseBodyState);
|
||||
// **** I am not sure this is a right thing to do. This happens when
|
||||
// going online, downloading a message while playing back append
|
||||
// draft/template offline operation. We are mixing
|
||||
@ -2304,7 +2304,7 @@ PRInt32 ParseOutgoingMessage::ParseBlock(const char *block, PRUint32 length)
|
||||
if (m_outputBuffer == nsnull)
|
||||
m_ouputBufferSize /= 2;
|
||||
}
|
||||
XP_ASSERT(m_outputBuffer != nsnull);
|
||||
PR_ASSERT(m_outputBuffer != nsnull);
|
||||
|
||||
return msg_LineBuffer (block, length, &m_outputBuffer, &m_ouputBufferSize, &m_outputBufferIndex, PR_FALSE,
|
||||
#ifdef XP_OS2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user