From 8767bc313a7542d8fca963fb7d26c7bc5c732802 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Tue, 10 Dec 2002 14:04:05 +0000 Subject: [PATCH] Fix. --- toutf8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toutf8.c b/toutf8.c index b78cc51..6654889 100644 --- a/toutf8.c +++ b/toutf8.c @@ -33,7 +33,7 @@ static const char * stringprep_locale_charset_slow () { - const char *charset = getenv ("CHARSET"); + const char *charset = getenv ("CHARSET"); /* flawfinder: ignore */ char *p; if (charset && *charset) @@ -46,10 +46,10 @@ stringprep_locale_charset_slow () charset = nl_langinfo (CODESET); setlocale (LC_CTYPE, p); -#endif if (charset && *charset) return charset; +#endif return "ASCII"; } -- 2.11.4.GIT