aboutsummaryrefslogtreecommitdiffstats
path: root/options.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 /options.c
parent8eb3aa43ca669d8c1ea6e72633cbab6cb5a83aef (diff)
downloadfetchmail-c41317d22a0cc6a673dfc226d890e18f60ca5883.tar.gz
fetchmail-c41317d22a0cc6a673dfc226d890e18f60ca5883.tar.bz2
fetchmail-c41317d22a0cc6a673dfc226d890e18f60ca5883.zip
set global flags in a consistent manner
Diffstat (limited to 'options.c')
-rw-r--r--options.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/options.c b/options.c
index 0617bdb0..71590296 100644
--- a/options.c
+++ b/options.c
@@ -285,7 +285,7 @@ int parsecmdline (int argc /** argument count */,
rctl->logfile = prependdir (optarg, currentwd);
break;
case LA_INVISIBLE:
- rctl->invisible = TRUE;
+ rctl->invisible = FLAG_TRUE;
break;
case LA_SHOWDOTS:
rctl->showdots = FLAG_TRUE;
@@ -304,13 +304,13 @@ int parsecmdline (int argc /** argument count */,
rctl->postmaster = (char *) xstrdup(optarg);
break;
case LA_NOBOUNCE:
- run.bouncemail = FALSE;
+ rctl->bouncemail = FLAG_FALSE;
break;
case LA_NOSOFTBOUNCE:
- run.softbounce = FALSE;
+ rctl->softbounce = FLAG_FALSE;
break;
case LA_SOFTBOUNCE:
- run.softbounce = TRUE;
+ rctl->softbounce = FLAG_TRUE;
break;
case LA_BADHEADER:
if (strcasecmp(optarg,"accept") == 0) {