diff --git a/mailnews/news/src/nsNNTPProtocol.cpp b/mailnews/news/src/nsNNTPProtocol.cpp index 923db720304e..6d4a1c4104e4 100644 --- a/mailnews/news/src/nsNNTPProtocol.cpp +++ b/mailnews/news/src/nsNNTPProtocol.cpp @@ -3608,7 +3608,10 @@ PRInt32 nsNNTPProtocol::DisplayNewsRC() nsCOMPtr currChild; rv = m_nntpServer->GetFirstGroupNeedingCounts(getter_AddRefs(currChild)); - if (NS_FAILED(rv)) return -1; + if (NS_FAILED(rv)) { + ClearFlag(NNTP_NEWSRC_PERFORMED); + return -1; + } nsCOMPtr currFolder; currFolder = do_QueryInterface(currChild, &rv);