From 63cdc7d132aef6d5face321f1c48c3427e0296c6 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 30 Sep 2004 07:54:12 +0000 Subject: [PATCH] spelling fix --- sm/certdump.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sm/certdump.c b/sm/certdump.c index 21581dca3..33052b186 100644 --- a/sm/certdump.c +++ b/sm/certdump.c @@ -640,7 +640,10 @@ gpgsm_format_keydesc (ksba_cert_t cert) orig_codeset = nl_langinfo (CODESET); #endif if (orig_codeset) - { /* We only switch when we are able to restore the codeset later. */ + { /* We only switch when we are able to restore the codeset later. + Note that bind_textdomain_codeset does only return on memory + errors but not if a codeset is not available. Thus we don't + bother printing a diagnostic here. */ orig_codeset = xstrdup (orig_codeset); if (!bind_textdomain_codeset (PACKAGE_GT, "utf-8")) orig_codeset = NULL;