зеркало из https://github.com/mozilla/pjs.git
fix for #80485. sr=bienvenu
This commit is contained in:
Родитель
29c88eea18
Коммит
b0b6083ebc
|
@ -4046,6 +4046,13 @@ PRInt32 nsNNTPProtocol::DisplayNewsRCResponse()
|
||||||
// last group we update.
|
// last group we update.
|
||||||
m_currentGroup = group;
|
m_currentGroup = group;
|
||||||
|
|
||||||
|
// prevent crash when
|
||||||
|
// if going offline in the middle of
|
||||||
|
// updating the unread counts on a news server
|
||||||
|
// (running a "news://host/*" url)
|
||||||
|
NS_ASSERTION(m_nntpServer,"no server");
|
||||||
|
if (!m_nntpServer) return -1;
|
||||||
|
|
||||||
rv = m_nntpServer->DisplaySubscribedGroup(m_newsFolder,
|
rv = m_nntpServer->DisplaySubscribedGroup(m_newsFolder,
|
||||||
low ? atol(low) : 0,
|
low ? atol(low) : 0,
|
||||||
high ? atol(high) : 0,
|
high ? atol(high) : 0,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче