Bug #16263 --> CreateListOfMessageIDStrings should look for '?' as the delimiter used by

mime for each message part instead of '&'.
r=sspitzer
This commit is contained in:
mscott%netscape.com 1999-10-13 05:20:14 +00:00
Родитель 6e9c861c93
Коммит 325c1a107a
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -309,9 +309,9 @@ NS_IMETHODIMP nsImapUrl::CreateListOfMessageIdsString(nsCString *aResult)
// the part. Pop and news work this way also.
// this algorithm truncates the "&part" string.
char *currentChar = m_listOfMessageIds;
while (*currentChar && (*currentChar != '&'))
while (*currentChar && (*currentChar != '?'))
currentChar++;
if (*currentChar == '&')
if (*currentChar == '?')
bytesToCopy = currentChar - m_listOfMessageIds;
// we should also strip off anything after "/;section="