* crypto: update other mu-msg-part users for api changes

This commit is contained in:
djcb
2012-07-17 19:17:09 +03:00
parent c7cf0c6655
commit 9e59b1f29b
4 changed files with 10 additions and 7 deletions

View File

@ -287,8 +287,8 @@ append_sexp_parts (GString *gstr, MuMsg *msg, gboolean want_images)
pinfo.parts = NULL;
pinfo.want_images = want_images;
mu_msg_part_foreach (msg, FALSE,
(MuMsgPartForeachFunc)each_part, &pinfo);
mu_msg_part_foreach (msg, (MuMsgPartForeachFunc)each_part,
&pinfo, MU_MSG_PART_OPTION_CHECK_SIGNATURES);
if (pinfo.parts) {
g_string_append_printf (gstr, "\t:parts (%s)\n", pinfo.parts);

View File

@ -471,8 +471,9 @@ add_terms_values_attach (Xapian::Document& doc, MuMsg *msg,
MuMsgFieldId mfid, GStringChunk *strchunk)
{
PartData pdata (doc, mfid, strchunk);
mu_msg_part_foreach (msg, TRUE,
(MuMsgPartForeachFunc)each_part, &pdata);
mu_msg_part_foreach (msg,
(MuMsgPartForeachFunc)each_part, &pdata,
MU_MSG_PART_OPTION_RECURSE_RFC822);
}