X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=sendlib.c;h=86440dfd0a4e6b07b7a069a221947bc29302dc27;hb=3ad8157bbbc6b9fae1c3252aad1c07fcccd92004;hp=a81949c5bf89ae933201051cc1f15380b10527a7;hpb=923e295d2cd179be0ab05890c9788bb822b1b340;p=apps%2Fmadmutt.git diff --git a/sendlib.c b/sendlib.c index a81949c..86440df 100644 --- a/sendlib.c +++ b/sendlib.c @@ -18,10 +18,9 @@ #include #include -#include - #include "mutt.h" #include "handler.h" +#include "crypt.h" #include "recvattach.h" #include "copy.h" #include "pager.h" @@ -1107,8 +1106,6 @@ BODY *mutt_make_message_attach (CONTEXT * ctx, HEADER * hdr, int attach_msg) if ((option (OPTMIMEFORWDECODE) || option (OPTFORWDECRYPT)) && (hdr->security & ENCRYPT)) { - if (!crypt_valid_passphrase (hdr->security)) - return (NULL); } fp = m_tempfile(buffer, sizeof(buffer), NONULL(MCore.tmpdir), NULL); @@ -1910,8 +1907,7 @@ static int mutt_invoke_sendmail (address_t * from, /* the sender */ struct stat st; if (!stat(childout, &st) && st.st_size > 0) - mutt_do_pager(_("Output of the delivery process"), childout, 0, - NULL); + mutt_pager(_("Output of the delivery process"), childout, 0, NULL); } } } else {