aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-12-05 04:06:58 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-12-05 04:06:58 +0000
commite77dd0ac4a805774f9bbc832879f3478ee5dc5de (patch)
treed5d90119c37cd30dd2eac8e9da9e55ced6563f1f /fetchmail.c
parent7b49f4e66732be2a0acc18be8e05fba7a012059a (diff)
downloadfetchmail-e77dd0ac4a805774f9bbc832879f3478ee5dc5de.tar.gz
fetchmail-e77dd0ac4a805774f9bbc832879f3478ee5dc5de.tar.bz2
fetchmail-e77dd0ac4a805774f9bbc832879f3478ee5dc5de.zip
Fix a search loop.
svn path=/trunk/; revision=599
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 a1990add..539da0e7 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -460,7 +460,7 @@ static int load_params(int argc, char **argv, int optind)
* record from command line and defaults
*/
for (ctl = querylist; ctl; ctl = ctl->next)
- if (str_in_list(&ctl->servernames, argv[optind]) == 0)
+ if (str_in_list(&ctl->servernames, argv[optind]))
goto foundit;
ctl = hostalloc(&cmd_opts);