This commit is contained in:
sspitzer%netscape.com 2001-05-12 19:17:53 +00:00
Родитель 29c88eea18
Коммит b0b6083ebc
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -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,