summaryrefslogtreecommitdiffstats
path: root/pgpkey.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-08-27 08:41:07 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-08-27 08:41:07 +0000
commit805fcf41165c20f8b38ad76e8518114f9b976117 (patch)
treeac73a486d135caeecf33023f6b2ad29d6f8795d3 /pgpkey.c
parent344b71b0b93ff4072800ccac54dac76b0815eab9 (diff)
Minor nit: if you enter the wrong key ID at Mutt's prompt,
Mutt should erase the old value --- otherwise people might think it has just hung there. (From Liviu Daia.)
Diffstat (limited to 'pgpkey.c')
-rw-r--r--pgpkey.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pgpkey.c b/pgpkey.c
index 9cb2a61e..475a118b 100644
--- a/pgpkey.c
+++ b/pgpkey.c
@@ -309,6 +309,7 @@ char *pgp_ask_for_key (struct pgp_vinfo *pgp, KEYINFO *db, char *tag, char *what
FOREVER
{
+ resp[0] = 0;
if (mutt_get_field (tag, resp, sizeof (resp), M_CLEAR) != 0)
return NULL;