From 5c67c790a841f40a487e9792e3ceaad7e5ddfe6a Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Tue, 10 Oct 2017 12:32:45 +0000 Subject: [PATCH] Use mutt_sleep(0) Issue #777 --- ncrypt/crypt_gpgme.c | 2 +- ncrypt/pgpkey.c | 2 +- ncrypt/smime.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ncrypt/crypt_gpgme.c b/ncrypt/crypt_gpgme.c index dc5cac522..5bcc49ada 100644 --- a/ncrypt/crypt_gpgme.c +++ b/ncrypt/crypt_gpgme.c @@ -4542,7 +4542,7 @@ static struct CryptKeyInfo *crypt_ask_for_key(char *tag, char *whatfor, short ab return key; mutt_error(_("No matching keys found for \"%s\""), resp); - mutt_sleep(2); + mutt_sleep(0); } /* not reached */ } diff --git a/ncrypt/pgpkey.c b/ncrypt/pgpkey.c index 79ebf99f0..e3516c521 100644 --- a/ncrypt/pgpkey.c +++ b/ncrypt/pgpkey.c @@ -703,7 +703,7 @@ struct PgpKeyInfo *pgp_ask_for_key(char *tag, char *whatfor, short abilities, en return key; mutt_error(_("No matching keys found for \"%s\""), resp); - mutt_sleep(2); + mutt_sleep(0); } /* not reached */ } diff --git a/ncrypt/smime.c b/ncrypt/smime.c index 53d67ead8..cebeefe16 100644 --- a/ncrypt/smime.c +++ b/ncrypt/smime.c @@ -756,7 +756,7 @@ static struct SmimeKey *smime_ask_for_key(char *prompt, short abilities, short p return key; mutt_error(_("No matching keys found for \"%s\""), resp); - mutt_sleep(2); + mutt_sleep(0); } } -- 2.40.0