aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2004-11-07 23:51:16 +0000
committerMatthias Andree <matthias.andree@gmx.de>2004-11-07 23:51:16 +0000
commit836fd5aab1a898d112d3deeae9bdd50da1aa3e63 (patch)
tree83cca63aac017d02e9b64440081d17fccc3c896d /sink.c
parentb88a50bdd3b4223be5a235f20f275ca87c62a7bb (diff)
downloadfetchmail-836fd5aab1a898d112d3deeae9bdd50da1aa3e63.tar.gz
fetchmail-836fd5aab1a898d112d3deeae9bdd50da1aa3e63.tar.bz2
fetchmail-836fd5aab1a898d112d3deeae9bdd50da1aa3e63.zip
Use iana_charset rather than calling nl_langinfo(CODESET).
svn path=/trunk/; revision=3981
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sink.c b/sink.c
index 8939c8e9..662d0a7b 100644
--- a/sink.c
+++ b/sink.c
@@ -1539,7 +1539,7 @@ int open_warning_by_mail(struct query *ctl, struct msgblk *msg)
stuff_warning(NULL, ctl, "Date: %s", rfc822timestamp());
stuff_warning(NULL, ctl, "MIME-Version: 1.0");
stuff_warning(NULL, ctl, "Content-Transfer-Encoding: 8bit");
- stuff_warning(NULL, ctl, "Content-Type: text/plain; charset=\"%s\"", nl_langinfo(CODESET));
+ stuff_warning(NULL, ctl, "Content-Type: text/plain; charset=\"%s\"", iana_charset);
}
return(status);
}