summaryrefslogtreecommitdiffstats
path: root/send.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-05-31 10:44:16 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-05-31 10:44:16 +0000
commitf869f9f687bf191e6e32ed1f1296a0f313e3198f (patch)
treec67a258c0be69075380a705ed08c72c3375b25a9 /send.c
parent885f064460f514f399a4b12d8bd25495b5684091 (diff)
Minor bug-fixes.
Diffstat (limited to 'send.c')
-rw-r--r--send.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/send.c b/send.c
index f287e96b..2edbbcfb 100644
--- a/send.c
+++ b/send.c
@@ -1215,15 +1215,11 @@ main_loop:
#ifdef _PGPPATH
if (msg->pgp)
{
- if (pgp_get_keys (msg, &pgpkeylist) == -1)
- goto main_loop;
-
- mutt_message _("Invoking PGP...");
-
/* save the decrypted attachments */
save_content = msg->content;
- if (pgp_protect (msg, pgpkeylist) == -1)
+ if ((pgp_get_keys (msg, &pgpkeylist) == -1) ||
+ (pgp_protect (msg, pgpkeylist) == -1))
{
if (msg->content->parts)
{