mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 522561 crash replying to message that has attached eml [@ strlen | nsDateTimeFormatMac::FormatPRExplodedTime(nsILocale*, int, int, PRExplodedTime const*, nsAString_internal&)]
r=smontagu
This commit is contained in:
parent
c13c9c5ba2
commit
b71697af81
@ -135,9 +135,6 @@ nsresult nsDateTimeFormatMac::FormatTMTime(nsILocale* locale,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// set the default string, in case for API/conversion errors
|
||||
CopyASCIItoUTF16(nsDependentCString(asctime(tmTime)), stringOut);
|
||||
|
||||
NS_ASSERTION(tmTime->tm_mon >= 0, "tm is not set correctly");
|
||||
NS_ASSERTION(tmTime->tm_mday >= 1, "tm is not set correctly");
|
||||
NS_ASSERTION(tmTime->tm_hour >= 0, "tm is not set correctly");
|
||||
|
Loading…
Reference in New Issue
Block a user