We don't need a function for mutt_make_version().
[apps/madmutt.git] / send.c
diff --git a/send.c b/send.c
index 05536b8..cd82ede 100644 (file)
--- a/send.c
+++ b/send.c
@@ -13,7 +13,6 @@
 #include <lib-mime/rfc3676.h>
 #include <lib-sys/unix.h>
 #include <lib-ui/lib-ui.h>
-#include <lib-ui/enter.h>
 #include <lib-mx/mx.h>
 
 #include "alias.h"
@@ -275,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 +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;