Loading mailnews/news/src/nsNNTPProtocol.cpp +33 −33 Original line number Diff line number Diff line Loading @@ -1083,7 +1083,6 @@ nsresult nsNNTPProtocol::LoadUrl(nsIURI * aURL, nsISupports * aConsumer) /* news:GROUP news:/GROUP news://HOST/GROUP news://host/* */ if (PL_strchr(group.get(),'*')) { // getting all the newsgroups on the server, for subscribe dialog Loading Loading @@ -4895,16 +4894,17 @@ PRInt32 nsNNTPProtocol::SendListGroupResponse(nsIInputStream * inputStream, PRUi if (line) { nsresult rv; if (line[0] != '.') { nsMsgKey found_id = nsMsgKey_None; PR_sscanf(line, "%ld", &found_id); nsresult rv = m_articleList->AddArticleKey(found_id); rv = m_articleList->AddArticleKey(found_id); NS_ASSERTION(NS_SUCCEEDED(rv), "add article key failed"); } else { nsresult rv = m_articleList->FinishAddingArticleKeys(); rv = m_articleList->FinishAddingArticleKeys(); NS_ASSERTION(NS_SUCCEEDED(rv), "finish adding article key failed"); m_articleList = nsnull; m_nextState = NEWS_DONE; /* ### dmb - don't really know */ Loading Loading
mailnews/news/src/nsNNTPProtocol.cpp +33 −33 Original line number Diff line number Diff line Loading @@ -1083,7 +1083,6 @@ nsresult nsNNTPProtocol::LoadUrl(nsIURI * aURL, nsISupports * aConsumer) /* news:GROUP news:/GROUP news://HOST/GROUP news://host/* */ if (PL_strchr(group.get(),'*')) { // getting all the newsgroups on the server, for subscribe dialog Loading Loading @@ -4895,16 +4894,17 @@ PRInt32 nsNNTPProtocol::SendListGroupResponse(nsIInputStream * inputStream, PRUi if (line) { nsresult rv; if (line[0] != '.') { nsMsgKey found_id = nsMsgKey_None; PR_sscanf(line, "%ld", &found_id); nsresult rv = m_articleList->AddArticleKey(found_id); rv = m_articleList->AddArticleKey(found_id); NS_ASSERTION(NS_SUCCEEDED(rv), "add article key failed"); } else { nsresult rv = m_articleList->FinishAddingArticleKeys(); rv = m_articleList->FinishAddingArticleKeys(); NS_ASSERTION(NS_SUCCEEDED(rv), "finish adding article key failed"); m_articleList = nsnull; m_nextState = NEWS_DONE; /* ### dmb - don't really know */ Loading