From c9fb61809611f51363db1779e02cea3faf8146d4 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 30 Mar 2020 21:09:55 +0200 Subject: Properly report if the defaults entry is not the first. --- fetchmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fetchmail.c') 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); } } -- cgit v1.2.3