[Commits] [SCM] claws branch, gtk3, updated. 3.99.0-10-g4752d6922
paul at claws-mail.org
paul at claws-mail.org
Wed Dec 2 10:09:16 CET 2020
The branch, gtk3 has been updated
via 4752d692270b9acc8bc1a47b8ccd67d563078735 (commit)
from 75fc8437ef93bb5d860e58cb04b0bdbee6a9cec7 (commit)
Summary of changes:
src/procmime.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 4752d692270b9acc8bc1a47b8ccd67d563078735
Author: Paul <paul at claws-mail.org>
Date: Wed Dec 2 09:08:35 2020 +0000
add midsing 'model'; eliminate use of raw number
diff --git a/src/procmime.c b/src/procmime.c
index 2cf585fe5..8aefcca92 100644
--- a/src/procmime.c
+++ b/src/procmime.c
@@ -2135,6 +2135,7 @@ static gchar *typenames[] = {
"application",
"message",
"multipart",
+ "model",
"unknown",
};
@@ -2147,7 +2148,7 @@ static gboolean output_func(GNode *node, gpointer data)
for (i = 0; i < depth; i++)
g_print(" ");
g_print("%s/%s (offset:%d length:%d encoding: %d)\n",
- (mimeinfo->type < 8)? typenames[mimeinfo->type] : "unknown",
+ (mimeinfo->type <= MIMETYPE_UNKNOWN)? typenames[mimeinfo->type] : "unknown",
mimeinfo->subtype, mimeinfo->offset, mimeinfo->length, mimeinfo->encoding_type);
return FALSE;
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list