fix 111855 patch by frank.schoenheit@gmx.de, r=me, sr=mscott first newsgroup count not read if authentication required

This commit is contained in:
bienvenu%nventure.com 2003-11-01 19:03:17 +00:00
parent dd92e5fa7b
commit 692f7fe7b6
2 changed files with 748 additions and 756 deletions

File diff suppressed because it is too large Load Diff

View File

@ -258,6 +258,7 @@ private:
// variables for ReadNewsRC
PRInt32 m_newsRCListIndex;
PRInt32 m_RCIndexToResumeAfterAuthRequest;
PRInt32 m_newsRCListCount;
// variable for ReadNewsList
@ -424,6 +425,9 @@ private:
nsresult SetCurrentGroup(); /* sets m_currentGroup. should be called after doing a successful GROUP command */
nsresult CleanupNewsgroupList(); /* cleans up m_newsgroupList, and set it to null */
void GotAuthorizationRequest(); /* called when we got an authorization request, which potentially disrupted something */
PRInt32 GetNextGroupNeedingCounts( nsISupports** pNextGroup, PRInt32* returnStatus );
// cache related helper methods
void FinishMemCacheEntry(PRBool valid); // either mark it valid, or doom it
nsresult OpenCacheEntry(); // makes a request to the cache service for a cache entry for a url