зеркало из https://github.com/mozilla/gecko-dev.git
Bug #12505 --> fix printing for local and news. the load attributes for nsMsgProtocol weren't getting initialized!
r=bienvenu a=leaf
This commit is contained in:
Родитель
74be809464
Коммит
11c6a6bca7
|
@ -43,6 +43,7 @@ nsMsgProtocol::nsMsgProtocol(nsIURI * aURL)
|
||||||
m_flags = 0;
|
m_flags = 0;
|
||||||
m_startPosition = 0;
|
m_startPosition = 0;
|
||||||
m_readCount = 0;
|
m_readCount = 0;
|
||||||
|
mLoadAttributes = 0;
|
||||||
m_socketIsOpen = PR_FALSE;
|
m_socketIsOpen = PR_FALSE;
|
||||||
|
|
||||||
m_tempMsgFileSpec = nsSpecialSystemDirectory(nsSpecialSystemDirectory::OS_TemporaryDirectory);
|
m_tempMsgFileSpec = nsSpecialSystemDirectory(nsSpecialSystemDirectory::OS_TemporaryDirectory);
|
||||||
|
@ -110,15 +111,7 @@ nsresult nsMsgProtocol::OpenFileSocket(nsIURI * aURL, const nsFileSpec * aFileSp
|
||||||
nsnull, // null base URI
|
nsnull, // null base URI
|
||||||
getter_AddRefs(m_channel));
|
getter_AddRefs(m_channel));
|
||||||
PR_FREEIF(urlSpec);
|
PR_FREEIF(urlSpec);
|
||||||
|
m_socketIsOpen = PR_FALSE;
|
||||||
if (NS_SUCCEEDED(rv) && m_channel)
|
|
||||||
{
|
|
||||||
rv = m_channel->SetLoadGroup(m_loadGroup);
|
|
||||||
if (NS_SUCCEEDED(rv)) {
|
|
||||||
m_socketIsOpen = PR_FALSE;
|
|
||||||
// rv = SetupTransportState();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return rv;
|
return rv;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче