Signed-off-by: Pierre Habouzit <madcoder@debian.org>
if (err) {
mutt_error(_("error creating gpgme context: %s\n"),
gpgme_strerror(err));
- sleep(2);
+ mutt_sleep(2);
mutt_exit(1);
}
if (!for_smime)
err = gpgme_set_protocol(ctx, GPGME_PROTOCOL_CMS);
if (err) {
mutt_error(_("error enabling CMS protocol: %s\n"), gpgme_strerror(err));
- sleep(2);
+ mutt_sleep(2);
mutt_exit(1);
}
return ctx;
if (err) {
mutt_error(_("error creating gpgme data object: %s\n"),
gpgme_strerror(err));
- sleep(2);
+ mutt_sleep(2);
mutt_exit(1);
}
return data;
prev_sb = sb;
mutt_message (_("Waiting for fcntl lock... %d"), ++attempt);
- sleep (1);
+ mutt_sleep (1);
}
#endif /* USE_FCNTL */
prev_sb = sb;
mutt_message (_("Waiting for flock attempt... %d"), ++attempt);
- sleep (1);
+ mutt_sleep (1);
}
#endif /* USE_FLOCK */
}
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]
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;