X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=send.c;h=cd82edeceac71581a2069a22db53844c53371de0;hp=55b8854d2738f2c39cc0958235563a7412c52e72;hb=a5fa2af549bea868843481ec567804555f6d9c58;hpb=d2227f502071cc594dbc77ccb0b3f4d0e7b36ae0 diff --git a/send.c b/send.c index 55b8854..cd82ede 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] @@ -1438,7 +1438,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;