fixed resetting current folder uid validity and highest recorded uid problem

This commit is contained in:
jefft%netscape.com 1999-06-21 23:05:29 +00:00
Родитель bf51c58595
Коммит 7dc559873d
1 изменённых файлов: 6 добавлений и 4 удалений

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

@ -1435,8 +1435,10 @@ void nsImapServerResponseParser::resp_text_code()
fNextToken = GetNextToken();
if (ContinueParse())
{
fFolderUIDValidity = atoi(fNextToken);
fHighestRecordedUID = 0;
// ** jt -- the returned uidvalidity is the destination folder
// uidvalidity; don't use it for current folder
// fFolderUIDValidity = atoi(fNextToken);
// fHighestRecordedUID = 0; ??? this should be wrong
fNextToken = GetNextToken();
if (ContinueParse())
{
@ -1450,8 +1452,8 @@ void nsImapServerResponseParser::resp_text_code()
fNextToken = GetNextToken();
if (ContinueParse())
{
fFolderUIDValidity = atoi(fNextToken);
fHighestRecordedUID = 0;
// ** jt -- destination folder uidvalidity
// fFolderUIDValidity = atoi(fNextToken);
// original message set; ignore it
fNextToken = GetNextToken();
if (ContinueParse())