aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-04-01 08:22:43 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-04-01 08:22:43 +0000
commitafd193ffe35547ea41e21497cdea424d040a5e56 (patch)
tree3350d684480a2775694ea21189244b32a1736b9b
parentd988048914d0f54c06c3bf86ab97a4c14b9e78fe (diff)
downloadfetchmail-afd193ffe35547ea41e21497cdea424d040a5e56.tar.gz
fetchmail-afd193ffe35547ea41e21497cdea424d040a5e56.tar.bz2
fetchmail-afd193ffe35547ea41e21497cdea424d040a5e56.zip
Cleanup.
svn path=/trunk/; revision=3605
-rw-r--r--env.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/env.c b/env.c
index 86531b96..8fe2103d 100644
--- a/env.c
+++ b/env.c
@@ -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);