X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=postpone.c;h=548e0d10cccd0d2491f82f095b0b8b3adc2157a7;hp=1436a84e3fd780798a662a74833b6a325b095823;hb=2a2f2f9a5bad73c883b7f9c9b4166d932b6aaf37;hpb=c65e926c6633e7247003bfc8e484a9a2179a5497 diff --git a/postpone.c b/postpone.c index 1436a84..548e0d1 100644 --- a/postpone.c +++ b/postpone.c @@ -556,9 +556,8 @@ int mutt_prepare_template (FILE * fp, CONTEXT * ctx, HEADER * newhdr, if (mutt_is_multipart_signed (newhdr->content)) { newhdr->security |= SIGN; - if (ascii_strcasecmp (mutt_get_parameter - ("protocol", newhdr->content->parameter), - "application/pgp-signature") == 0) + if (ascii_strcasecmp(parameter_getval(newhdr->content->parameter, "protocol"), + "application/pgp-signature") == 0) newhdr->security |= APPLICATION_PGP; else newhdr->security |= APPLICATION_SMIME; @@ -607,7 +606,7 @@ int mutt_prepare_template (FILE * fp, CONTEXT * ctx, HEADER * newhdr, if (b->type == TYPETEXT) { if (!ascii_strcasecmp - ("yes", mutt_get_parameter ("x-mutt-noconv", b->parameter))) + ("yes", parameter_getval(b->parameter, "x-mutt-noconv"))) b->noconv = 1; else { s.flags |= M_CHARCONV;