projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fb209d5
)
add midsing 'model'; eliminate use of raw number
author
Paul
<paul@claws-mail.org>
Wed, 2 Dec 2020 09:08:35 +0000
(09:08 +0000)
committer
Paul
<paul@claws-mail.org>
Wed, 2 Dec 2020 09:08:35 +0000
(09:08 +0000)
src/procmime.c
patch
|
blob
|
history
diff --git
a/src/procmime.c
b/src/procmime.c
index 0a40426877ac66f833eef8972914fec2ac1dcf05..5449e70f025b206934f40f94eeca2f2f0e57db3b 100644
(file)
--- a/
src/procmime.c
+++ b/
src/procmime.c
@@
-2096,6
+2096,7
@@
static gchar *typenames[] = {
"application",
"message",
"multipart",
+ "model",
"unknown",
};
@@
-2108,7
+2109,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;