diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-10 13:01:32 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-10 13:01:32 +0000 |
commit | ca48591eeaadd3691a56aeb7562ad1d1ace215c7 (patch) | |
tree | 3233fa62cc5e0cf04fa56738bfcd5401d2ee7977 /fetchmail.c | |
parent | be4b116402636988d66224a67be6cdfcee6624b5 (diff) | |
download | fetchmail-ca48591eeaadd3691a56aeb7562ad1d1ace215c7.tar.gz fetchmail-ca48591eeaadd3691a56aeb7562ad1d1ace215c7.tar.bz2 fetchmail-ca48591eeaadd3691a56aeb7562ad1d1ace215c7.zip |
Don't infinite-loop in defaults.
svn path=/trunk/; revision=732
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 2 |
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; } |