nsSaveAsListener::OnStartRequest(nsIChannel* aChannel, nsISupports* aSupport)
nsSaveMsgListener::OnStartRequest(nsIChannel* aChannel, nsISupports* aSupport)
nsSaveAsListener::OnStartRequest(nsIChannel* aChannel, nsISupports* aSupport){    nsresult rv = NS_OK;    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;}