aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
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 21ba5841..0fa6e593 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -559,7 +559,7 @@ static int load_params(int argc, char **argv, int optind)
/* if there's a defaults record, merge it and lose it */
if (querylist && strcmp(querylist->servernames->id, "defaults") == 0)
{
- for (ctl = querylist; ctl; ctl = ctl->next)
+ for (ctl = querylist->next; ctl; ctl = ctl->next)
optmerge(ctl, querylist);
querylist = querylist->next;
}