aboutsummaryrefslogtreecommitdiffstats
path: root/driver.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 /driver.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 'driver.c')
-rw-r--r--driver.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/driver.c b/driver.c
index 2b845b0f..c48defd8 100644
--- a/driver.c
+++ b/driver.c
@@ -333,7 +333,7 @@ static void send_size_warnings(struct query *ctl)
*/
if (open_warning_by_mail(ctl, (struct msgblk *)NULL))
return;
- stuff_warning(nl_langinfo(CODESET), ctl,
+ stuff_warning(iana_charset, ctl,
GT_("Subject: Fetchmail oversized-messages warning"));
stuff_warning(NULL, ctl, "");
stuff_warning(NULL, ctl,
@@ -910,7 +910,7 @@ static int do_session(
if (timeoutcount > MAX_TIMEOUTS
&& !open_warning_by_mail(ctl, (struct msgblk *)NULL))
{
- stuff_warning(nl_langinfo(CODESET), ctl,
+ stuff_warning(iana_charset, ctl,
GT_("Subject: fetchmail sees repeated timeouts"));
stuff_warning(NULL, ctl, "");
stuff_warning(NULL, ctl,
@@ -1111,7 +1111,7 @@ static int do_session(
/* warn the system administrator */
if (open_warning_by_mail(ctl, (struct msgblk *)NULL) == 0)
{
- stuff_warning(nl_langinfo(CODESET), ctl,
+ stuff_warning(iana_charset, ctl,
GT_("Subject: Fetchmail unreachable-server warning."));
stuff_warning(NULL, ctl, "");
stuff_warning(NULL, ctl, GT_("Fetchmail could not reach the mail server %s:"),
@@ -1226,7 +1226,7 @@ static int do_session(
&& !open_warning_by_mail(ctl, (struct msgblk *)NULL))
{
ctl->wehavesentauthnote = 1;
- stuff_warning(nl_langinfo(CODESET), ctl,
+ stuff_warning(iana_charset, ctl,
GT_("Subject: fetchmail authentication failed on %s@%s"),
ctl->remotename, ctl->server.truename);
stuff_warning(NULL, ctl, "");
@@ -1299,7 +1299,7 @@ is restored."));
ctl->server.truename);
if (!open_warning_by_mail(ctl, (struct msgblk *)NULL))
{
- stuff_warning(nl_langinfo(CODESET), ctl,
+ stuff_warning(iana_charset, ctl,
GT_("Subject: fetchmail authentication OK on %s@%s"),
ctl->remotename, ctl->server.truename);
stuff_warning(NULL, ctl, "");