X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=send.c;fp=send.c;h=d077993d2d9662034c94c2fda5c149ebb7862d7e;hp=c29ffb696d9ee58250d67e7ef6471a8818b42a45;hb=d8c2844a5a8b0fcf09158dcdd452f6e43e29b5db;hpb=84b3808a5aead62dd058b977ba27b99f11a059ce diff --git a/send.c b/send.c index c29ffb6..d077993 100644 --- a/send.c +++ b/send.c @@ -274,7 +274,7 @@ static int edit_envelope (ENVELOPE * en, int flags) } else { mutt_error (_("Ignoring $strip_was: Subject would be empty.")); - sleep (2); + mutt_sleep (2); } } if (mutt_get_field ("Subject: ", buf, sizeof (buf), 0) != 0 || (!buf[0] @@ -1439,7 +1439,7 @@ int ci_send_message (int flags, /* send mode */ if (quadoption (OPT_ATTACH) == M_YES) { mutt_message _("No attachments made but indicator found in text. " "Abort sending."); - sleep (2); + mutt_sleep (2); } mutt_message (_("Mail not sent.")); goto main_loop;