aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--conf.c7
2 files changed, 7 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index cd09868f..5c43996a 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@
* Updated Danish translation from Byrial Jensen.
* Fixed bug in NTLM support. Separately, "auth ntlm" now works.
* Imail server added to test list.
+* Don't require Tkinter to read --configdump output.
fetchmail-5.6.8 (Thu Feb 22 02:57:31 EST 2001), 20110 lines:
diff --git a/conf.c b/conf.c
index b348194f..b627daba 100644
--- a/conf.c
+++ b/conf.c
@@ -126,7 +126,12 @@ void dump_config(struct runctl *runp, struct query *querylist)
indent_level = 0;
- fputs("from Tkinter import TRUE, FALSE\n\n", stdout);
+ /*
+ * These had better match the values fetchmailconf is expecting!
+ * (We don't want to import them from Tkinter because the user
+ * might not have it installed.)
+ */
+ fputs("TRUE=1; FALSE=0\n\n", stdout);
/*
* We need this in order to know whether `interface' and `monitor'