From e77dd0ac4a805774f9bbc832879f3478ee5dc5de Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 5 Dec 1996 04:06:58 +0000 Subject: Fix a search loop. svn path=/trunk/; revision=599 --- fetchmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fetchmail.c') 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); -- cgit v1.2.3