aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorSunil Shetye <shetye@bombay.retortsoft.com>2010-03-05 23:12:41 +0530
committerMatthias Andree <matthias.andree@gmx.de>2010-03-05 22:17:08 +0100
commitc41317d22a0cc6a673dfc226d890e18f60ca5883 (patch)
tree376ca4d4c6b015c3b8667b9c2fe5a421aea1a32f /fetchmail.c
parent8eb3aa43ca669d8c1ea6e72633cbab6cb5a83aef (diff)
downloadfetchmail-c41317d22a0cc6a673dfc226d890e18f60ca5883.tar.gz
fetchmail-c41317d22a0cc6a673dfc226d890e18f60ca5883.tar.bz2
fetchmail-c41317d22a0cc6a673dfc226d890e18f60ca5883.zip
set global flags in a consistent manner
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fetchmail.c b/fetchmail.c
index b74c8897..e0ec1758 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1124,17 +1124,17 @@ static int load_params(int argc, char **argv, int optind)
if (cmd_run.poll_interval >= 0)
run.poll_interval = cmd_run.poll_interval;
if (cmd_run.invisible)
- run.invisible = cmd_run.invisible;
+ run.invisible = (cmd_run.invisible == FLAG_TRUE);
if (cmd_run.showdots)
- run.showdots = cmd_run.showdots;
+ run.showdots = (cmd_run.showdots == FLAG_TRUE);
if (cmd_run.use_syslog)
run.use_syslog = (cmd_run.use_syslog == FLAG_TRUE);
if (cmd_run.postmaster)
run.postmaster = cmd_run.postmaster;
if (cmd_run.bouncemail)
- run.bouncemail = cmd_run.bouncemail;
+ run.bouncemail = (cmd_run.bouncemail == FLAG_TRUE);
if (cmd_run.softbounce)
- run.softbounce = cmd_run.softbounce;
+ run.softbounce = (cmd_run.softbounce == FLAG_TRUE);
/* check and daemon options are not compatible */
if (check_only && run.poll_interval)