aboutsummaryrefslogtreecommitdiff
path: root/mailutils/reformime.c
diff options
context:
space:
mode:
Diffstat (limited to 'mailutils/reformime.c')
-rw-r--r--mailutils/reformime.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mailutils/reformime.c b/mailutils/reformime.c
index 307656a15..a1d3f4e8b 100644
--- a/mailutils/reformime.c
+++ b/mailutils/reformime.c
@@ -166,7 +166,7 @@ static int parse(const char *boundary, char **argv)
else
filename = bb_get_last_path_component_strip(xstrdup(filename));
- if (opts & OPT_X) {
+ if (option_mask32 & OPT_X) {
int fd[2];
/* start external helper */
@@ -219,7 +219,7 @@ static int parse(const char *boundary, char **argv)
fclose(fp);
/* Wait for child */
- if (opts & OPT_X) {
+ if (option_mask32 & OPT_X) {
int rc;
signal(SIGPIPE, SIG_DFL);
rc = (wait4pid(pid) & 0xff);
@@ -275,6 +275,7 @@ Usage: reformime [options]
int reformime_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int reformime_main(int argc UNUSED_PARAM, char **argv)
{
+ unsigned opts;
const char *opt_prefix = "";
INIT_G();