diff options
Diffstat (limited to 'mailutils/reformime.c')
-rw-r--r-- | mailutils/reformime.c | 5 |
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) | |||
166 | else | 166 | else |
167 | filename = bb_get_last_path_component_strip(xstrdup(filename)); | 167 | filename = bb_get_last_path_component_strip(xstrdup(filename)); |
168 | 168 | ||
169 | if (opts & OPT_X) { | 169 | if (option_mask32 & OPT_X) { |
170 | int fd[2]; | 170 | int fd[2]; |
171 | 171 | ||
172 | /* start external helper */ | 172 | /* start external helper */ |
@@ -219,7 +219,7 @@ static int parse(const char *boundary, char **argv) | |||
219 | fclose(fp); | 219 | fclose(fp); |
220 | 220 | ||
221 | /* Wait for child */ | 221 | /* Wait for child */ |
222 | if (opts & OPT_X) { | 222 | if (option_mask32 & OPT_X) { |
223 | int rc; | 223 | int rc; |
224 | signal(SIGPIPE, SIG_DFL); | 224 | signal(SIGPIPE, SIG_DFL); |
225 | rc = (wait4pid(pid) & 0xff); | 225 | rc = (wait4pid(pid) & 0xff); |
@@ -275,6 +275,7 @@ Usage: reformime [options] | |||
275 | int reformime_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 275 | int reformime_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
276 | int reformime_main(int argc UNUSED_PARAM, char **argv) | 276 | int reformime_main(int argc UNUSED_PARAM, char **argv) |
277 | { | 277 | { |
278 | unsigned opts; | ||
278 | const char *opt_prefix = ""; | 279 | const char *opt_prefix = ""; |
279 | 280 | ||
280 | INIT_G(); | 281 | INIT_G(); |