diff options
author | Denys Vlasenko | 2020-12-17 12:24:50 +0100 |
---|---|---|
committer | Denys Vlasenko | 2020-12-17 12:24:50 +0100 |
commit | 25b2680056454dc4761ba3b2efde7c3414738f8c (patch) | |
tree | 5fc9e7fd30b948a8edba34df429224e9c887eea5 /mailutils/mail.c | |
parent | 91e330a53fc8052addec941a9e1e6fcd4b68702b (diff) | |
download | busybox-25b2680056454dc4761ba3b2efde7c3414738f8c.zip busybox-25b2680056454dc4761ba3b2efde7c3414738f8c.tar.gz |
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 3a1fd69..ce52679 100644 --- a/mailutils/mail.c +++ b/mailutils/mail.c @@ -72,12 +72,12 @@ void FAST_FUNC launch_helper(const char **argv) char* FAST_FUNC send_mail_command(const char *fmt, const char *param) { char *msg; - if (timeout) - alarm(timeout); + if (G.timeout) + alarm(G.timeout); msg = (char*)fmt; if (fmt) { msg = xasprintf(fmt, param); - if (verbose) + if (G.verbose) bb_error_msg("send:'%s'", msg); printf("%s\r\n", msg); } |