From 57b084038ecabdfd5d773ea82d067a04728fa339 Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Wed, 8 Sep 1999 06:32:47 +0000 Subject: [PATCH] change from XP_ASSERT to PR_ASSERT git-svn-id: svn://10.0.0.236/trunk@46320 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/local/src/nsLocalMailFolder.cpp | 4 ++-- mozilla/mailnews/local/src/nsParseMailbox.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/mailnews/local/src/nsLocalMailFolder.cpp b/mozilla/mailnews/local/src/nsLocalMailFolder.cpp index 11c34af2e93..a4bf1592d58 100644 --- a/mozilla/mailnews/local/src/nsLocalMailFolder.cpp +++ b/mozilla/mailnews/local/src/nsLocalMailFolder.cpp @@ -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); } diff --git a/mozilla/mailnews/local/src/nsParseMailbox.cpp b/mozilla/mailnews/local/src/nsParseMailbox.cpp index e8cacde27bf..cc6439350d2 100644 --- a/mozilla/mailnews/local/src/nsParseMailbox.cpp +++ b/mozilla/mailnews/local/src/nsParseMailbox.cpp @@ -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