aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-06-07 22:56:23 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-06-07 22:56:23 +0000
commit6fac2b6bca1e2fcc2d96c5b12203ce42b4b41f7e (patch)
treeb2692d92242d583341963d548d69e304074832e0 /conf.c
parent74e18bc2461716cf4e0218562d0ca1f5d6980967 (diff)
downloadfetchmail-6fac2b6bca1e2fcc2d96c5b12203ce42b4b41f7e.tar.gz
fetchmail-6fac2b6bca1e2fcc2d96c5b12203ce42b4b41f7e.tar.bz2
fetchmail-6fac2b6bca1e2fcc2d96c5b12203ce42b4b41f7e.zip
Fix the empty-file bug.
svn path=/trunk/; revision=1931
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index 3e683d89..d994524b 100644
--- a/conf.c
+++ b/conf.c
@@ -140,7 +140,10 @@ void dump_config(struct runctl *runp, struct query *querylist)
booldump("invisible", runp->invisible);
if (!querylist)
+ {
+ fputs(" 'servers': []\n", stdout);
goto alldone;
+ }
indent(0);
fputs("# List of server entries begins here\n", stdout);