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 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);