aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2020-03-30 21:09:55 +0200
committerMatthias Andree <matthias.andree@gmx.de>2020-03-30 21:09:55 +0200
commitc9fb61809611f51363db1779e02cea3faf8146d4 (patch)
treeed34993ef84877b6254f00d43709eb88040d57ce /fetchmail.c
parent5af21c951ea49bb62715823e386f12ccdd088395 (diff)
downloadfetchmail-c9fb61809611f51363db1779e02cea3faf8146d4.tar.gz
fetchmail-c9fb61809611f51363db1779e02cea3faf8146d4.tar.bz2
fetchmail-c9fb61809611f51363db1779e02cea3faf8146d4.zip
Properly report if the defaults entry is not the first.
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 2ad62205..0ce3ddc8 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1172,7 +1172,7 @@ static int load_params(int argc, char **argv, int optind)
/* don't allow a defaults record after the first */
for (ctl = querylist; ctl; ctl = ctl->next) {
if (ctl != querylist && strcmp(ctl->server.pollname, "defaults") == 0) {
- fprintf(stderr, GT_("fetchmail: Error: multiple \"defaults\" records in config file.\n"));
+ fprintf(stderr, GT_("fetchmail: Error: multiple \"defaults\" records in config file, or \"defaults\" is not the first record.\n"));
exit(PS_SYNTAX);
}
}