From afd193ffe35547ea41e21497cdea424d040a5e56 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 1 Apr 2002 08:22:43 +0000 Subject: Cleanup. svn path=/trunk/; revision=3605 --- env.c | 4 ++-- 1 file 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); -- cgit v1.2.3