diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-04-01 08:22:43 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-04-01 08:22:43 +0000 |
commit | afd193ffe35547ea41e21497cdea424d040a5e56 (patch) | |
tree | 3350d684480a2775694ea21189244b32a1736b9b | |
parent | d988048914d0f54c06c3bf86ab97a4c14b9e78fe (diff) | |
download | fetchmail-afd193ffe35547ea41e21497cdea424d040a5e56.tar.gz fetchmail-afd193ffe35547ea41e21497cdea424d040a5e56.tar.bz2 fetchmail-afd193ffe35547ea41e21497cdea424d040a5e56.zip |
Cleanup.
svn path=/trunk/; revision=3605
-rw-r--r-- | env.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -213,12 +213,12 @@ char *rfc822timestamp(void) * weird multibyte i18n characters (such as kanji) from showing up * in your Received headers. */ -#if defined(HAVE_SETLOCALE) && defined(ENABLE_NLS) && defined(HAVE_STRFTIME) +#if defined(HAVE_SETLOCALE) && defined(ENABLE_NLS) setlocale (LC_TIME, "C"); #endif strftime(buf, sizeof(buf)-1, "%a, %d %b %Y %H:%M:%S XXXXX (%Z)", localtime(&now)); -#if defined(HAVE_SETLOCALE) && defined(ENABLE_NLS) && defined(HAVE_STRFTIME) +#if defined(HAVE_SETLOCALE) && defined(ENABLE_NLS) setlocale (LC_TIME, ""); #endif strncpy(strstr(buf, "XXXXX"), tzoffset(&now), 5); |