aboutsummaryrefslogtreecommitdiff
path: root/mailutils/mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'mailutils/mail.c')
-rw-r--r--mailutils/mail.c6
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)
72char* FAST_FUNC send_mail_command(const char *fmt, const char *param) 72char* 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 }