diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-17 12:24:50 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-17 12:24:50 +0100 |
commit | 25b2680056454dc4761ba3b2efde7c3414738f8c (patch) | |
tree | 5fc9e7fd30b948a8edba34df429224e9c887eea5 /mailutils/mail.c | |
parent | 91e330a53fc8052addec941a9e1e6fcd4b68702b (diff) | |
download | busybox-w32-25b2680056454dc4761ba3b2efde7c3414738f8c.tar.gz busybox-w32-25b2680056454dc4761ba3b2efde7c3414738f8c.tar.bz2 busybox-w32-25b2680056454dc4761ba3b2efde7c3414738f8c.zip |
mail: move "opts" from globals
function old new delta
popmaildir_main 812 823 +11
sendmail_main 1295 1301 +6
makemime_main 291 288 -3
parse 970 966 -4
reformime_main 107 100 -7
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/3 up/down: 17/-14) Total: 3 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'mailutils/mail.c')
-rw-r--r-- | mailutils/mail.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mailutils/mail.c b/mailutils/mail.c index 3a1fd6949..ce5267904 100644 --- a/mailutils/mail.c +++ b/mailutils/mail.c | |||
@@ -72,12 +72,12 @@ void FAST_FUNC launch_helper(const char **argv) | |||
72 | char* FAST_FUNC send_mail_command(const char *fmt, const char *param) | 72 | char* FAST_FUNC send_mail_command(const char *fmt, const char *param) |
73 | { | 73 | { |
74 | char *msg; | 74 | char *msg; |
75 | if (timeout) | 75 | if (G.timeout) |
76 | alarm(timeout); | 76 | alarm(G.timeout); |
77 | msg = (char*)fmt; | 77 | msg = (char*)fmt; |
78 | if (fmt) { | 78 | if (fmt) { |
79 | msg = xasprintf(fmt, param); | 79 | msg = xasprintf(fmt, param); |
80 | if (verbose) | 80 | if (G.verbose) |
81 | bb_error_msg("send:'%s'", msg); | 81 | bb_error_msg("send:'%s'", msg); |
82 | printf("%s\r\n", msg); | 82 | printf("%s\r\n", msg); |
83 | } | 83 | } |