X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=crypt.cpkg;fp=crypt.cpkg;h=f8fce19b538581cbc240f102c71512239049668d;hp=0dded60ed141896295aa71a6958769fe085534c0;hb=d8c2844a5a8b0fcf09158dcdd452f6e43e29b5db;hpb=84b3808a5aead62dd058b977ba27b99f11a059ce diff --git a/crypt.cpkg b/crypt.cpkg index 0dded60..f8fce19 100644 --- a/crypt.cpkg +++ b/crypt.cpkg @@ -326,7 +326,7 @@ static gpgme_ctx_t create_gpgme_context(int for_smime) if (err) { mutt_error(_("error creating gpgme context: %s\n"), gpgme_strerror(err)); - sleep(2); + mutt_sleep(2); mutt_exit(1); } if (!for_smime) @@ -335,7 +335,7 @@ static gpgme_ctx_t create_gpgme_context(int 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; @@ -352,7 +352,7 @@ static gpgme_data_t create_gpgme_data(void) if (err) { mutt_error(_("error creating gpgme data object: %s\n"), gpgme_strerror(err)); - sleep(2); + mutt_sleep(2); mutt_exit(1); } return data;