aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2004-10-20 09:14:04 +0000
committerMatthias Andree <matthias.andree@gmx.de>2004-10-20 09:14:04 +0000
commit334cb452bfee4d0511f9591292903d01f58efaf9 (patch)
tree21d7baddc9b7fde16dfa1c315693623649144083 /driver.c
parent65f9c5e8d026830b0fbd2583007c507e5e6e2b78 (diff)
downloadfetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.tar.gz
fetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.tar.bz2
fetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.zip
Fix miscellaneous warnings.
svn path=/trunk/; revision=3953
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index 95ff5b91..625f9edc 100644
--- a/driver.c
+++ b/driver.c
@@ -35,6 +35,8 @@
#include <hesiod.h>
#endif
+#include <langinfo.h>
+
#if defined(HAVE_RES_SEARCH) || defined(HAVE_GETHOSTBYNAME)
#include <netdb.h>
#include "mx.h"
@@ -312,7 +314,6 @@ static void send_size_warnings(struct query *ctl)
int msg_to_send = FALSE;
struct idlist *head=NULL, *current=NULL;
int max_warning_poll_count;
- char *tmp;
head = ctl->skipped;
if (!head)
@@ -333,7 +334,7 @@ static void send_size_warnings(struct query *ctl)
if (open_warning_by_mail(ctl, (struct msgblk *)NULL))
return;
stuff_warning(ctl,
- tmp = rfc2047e(
+ rfc2047e(
GT_("Subject: Fetchmail oversized-messages warning"), nl_langinfo(CODESET)));
stuff_warning(ctl, "");
stuff_warning(ctl,