From b71697af816fd8fea571f3777f0e9a412485bca9 Mon Sep 17 00:00:00 2001 From: "timeless@mozdev.org" Date: Tue, 2 Feb 2010 16:29:17 -0800 Subject: [PATCH] Bug 522561 crash replying to message that has attached eml [@ strlen | nsDateTimeFormatMac::FormatPRExplodedTime(nsILocale*, int, int, PRExplodedTime const*, nsAString_internal&)] r=smontagu --- intl/locale/src/mac/nsDateTimeFormatMac.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/intl/locale/src/mac/nsDateTimeFormatMac.cpp b/intl/locale/src/mac/nsDateTimeFormatMac.cpp index 201ec948d839..ed7d71e41695 100644 --- a/intl/locale/src/mac/nsDateTimeFormatMac.cpp +++ b/intl/locale/src/mac/nsDateTimeFormatMac.cpp @@ -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");