nsresult rv = NS_ERROR_FAILURE; NS_ASSERTION(m_fileStream, "Fatal, null m_fileStream...\n"); if (m_fileStream) {  m_fileStream->flush(); m_newKey = m_fileStream->tell(); rv = NS_OK; } return rv;
return StartMessage();
nsFolderCompactState::OnStartRequest(nsIChannel *channel, nsISupports *ctxt){  nsresult rv = NS_ERROR_FAILURE;  NS_ASSERTION(m_fileStream, "Fatal, null m_fileStream...\n");  if (m_fileStream)  {    // record the new message key for the message    m_fileStream->flush();    m_newKey = m_fileStream->tell();    rv = NS_OK;  }  return rv;}