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)
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);
}