if (m_fileSpec) m_fileSpec->GetOutputStream(getter_AddRefs(m_outputStream)); if (!m_dataBuffer) m_dataBuffer = (char*) PR_CALLOC(FOUR_K+1); return NS_OK;
nsresult rv; if (m_fileSpec) rv = m_fileSpec->GetOutputStream(getter_AddRefs(m_outputStream)); if (NS_FAILED(rv) && m_messenger) { m_messenger->Alert("saveAttachmentFailed"); } else if (!m_dataBuffer) { m_dataBuffer = (char*) PR_CALLOC(FOUR_K+1); } return rv;
nsSaveAsListener::OnStartRequest(nsIChannel* aChannel, nsISupports* aSupport){  if (m_fileSpec)    m_fileSpec->GetOutputStream(getter_AddRefs(m_outputStream));  if (!m_dataBuffer)    m_dataBuffer = (char*) PR_CALLOC(FOUR_K+1);  return NS_OK;}