X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=send.c;h=67f0d7c70e539ebde67ac9f768cb7f6c297c1837;hb=576172ff50f9dd94dd2f5cc91d247c1e50dbe7fc;hp=f786e5c137e0938eebe726af65e407c7b268c696;hpb=82589516e2473b5451218d7b00a9dfbc3e18f3ca;p=apps%2Fmadmutt.git diff --git a/send.c b/send.c index f786e5c..67f0d7c 100644 --- a/send.c +++ b/send.c @@ -19,7 +19,7 @@ #include "alias.h" #include "keymap.h" #include "copy.h" -#include +#include "crypt.h" #include "mutt_idna.h" #include "attach.h" @@ -97,7 +97,7 @@ static void append_signature (FILE * f) fprintf (f, "\n%s", SignOffString); } - if (tmpfp = mutt_open_read(NONULL(MAlias.signature), &thepid)) { + if ((tmpfp = mutt_open_read(NONULL(MAlias.signature), &thepid))) { if (option (OPTSIGDASHES)) fputs ("\n-- \n", f); else if (SignOffString) @@ -1363,12 +1363,6 @@ int ci_send_message (int flags, /* send mode */ if (option (OPTCRYPTREPLYSIGNENCRYPTED) && cur && (cur->security & ENCRYPT)) msg->security |= SIGN; - if (msg->security & (ENCRYPT | SIGN)) { - if (option (OPTPGPAUTOINLINE)) - msg->security |= INLINE; - if (option (OPTPGPREPLYINLINE) && cur && (cur->security & INLINE)) - msg->security |= INLINE; - } if (msg->security) { /*