assert on loading timestamp in kde80951-1.html
Change-Id: I32a9d6cc625537ab6e0940d93bf9a7544df370c8
This commit is contained in:
@@ -327,8 +327,8 @@ bool INetRFC822Message::ParseDateField (
|
||||
rDateTime.SetSec (ParseNumber (aDateField, nIndex)); nIndex++;
|
||||
rDateTime.SetNanoSec (0);
|
||||
|
||||
if ((aDateField[nIndex] == '+') ||
|
||||
(aDateField[nIndex] == '-') )
|
||||
const char cPossiblePlusMinus = nIndex < aDateField.getLength() ? aDateField[nIndex] : 0;
|
||||
if (cPossiblePlusMinus == '+' || cPossiblePlusMinus == '-')
|
||||
{
|
||||
// Offset from GMT: "(+|-)HHMM".
|
||||
bool bEast = (aDateField[nIndex++] == '+');
|
||||
|
Reference in New Issue
Block a user