[Commits] [SCM] claws branch, master, updated. 3.14.0-9-g33282d0
mones at claws-mail.org
mones at claws-mail.org
Wed Aug 17 10:05:19 CEST 2016
The branch, master has been updated
via 33282d05ca0f3162229f1c2ca00a488791d1d7bf (commit)
from 5b70872b46999db1d46718267a4960547147d46b (commit)
Summary of changes:
src/messageview.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 33282d05ca0f3162229f1c2ca00a488791d1d7bf
Author: Ricardo Mones <ricardo at mones.org>
Date: Wed Aug 17 09:57:39 2016 +0200
Fix regression: show simple text/calendar with plugin
Handling the base case where the MIME part being looked up
is directly passed as function parameter was missing.
diff --git a/src/messageview.c b/src/messageview.c
index fc69035..9d456c4 100644
--- a/src/messageview.c
+++ b/src/messageview.c
@@ -1300,7 +1300,10 @@ static void messageview_find_part_depth_first(MimeInfoSearch *context, MimeMedia
debug_print("found part %d/%s\n", mimeinfo->type, mimeinfo->subtype);
- if (mimeinfo->type == MIMETYPE_MULTIPART) {
+ if (mimeinfo->type == type
+ && !strcasecmp(mimeinfo->subtype, subtype)) {
+ context->found = mimeinfo;
+ } else if (mimeinfo->type == MIMETYPE_MULTIPART) {
if (!strcasecmp(mimeinfo->subtype, "alternative")
|| !strcasecmp(mimeinfo->subtype, "related")) {
context->found = procmime_mimeinfo_next(mimeinfo);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list