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:
0ffa910
)
recognise model/* mime type
author
Paul
<paul@claws-mail.org>
Sun, 24 Mar 2019 13:38:58 +0000
(13:38 +0000)
committer
Paul
<paul@claws-mail.org>
Sun, 24 Mar 2019 13:38:58 +0000
(13:38 +0000)
fixes bug 4188, 'STL file is sent not as an attachment but as its base64
representation in plaintext'
src/procmime.c
patch
|
blob
|
history
src/procmime.h
patch
|
blob
|
history
diff --git
a/src/procmime.c
b/src/procmime.c
index 6bcf5bbfc9f86d1a10a009172375b77ad8381ff5..2be6961e3762c3e8b60128d98691c0e93abb7332 100644
(file)
--- a/
src/procmime.c
+++ b/
src/procmime.c
@@
-1324,6
+1324,7
@@
static struct TypeTable mime_type_table[] = {
{"image", MIMETYPE_IMAGE},
{"audio", MIMETYPE_AUDIO},
{"video", MIMETYPE_VIDEO},
+ {"model", MIMETYPE_MODEL},
{"application", MIMETYPE_APPLICATION},
{"message", MIMETYPE_MESSAGE},
{"multipart", MIMETYPE_MULTIPART},
diff --git
a/src/procmime.h
b/src/procmime.h
index b21dc940772a96f7ef14a6c7d0b1d05d416f268d..ac734471a69e4d974d606e192dc56b9afd64a26d 100644
(file)
--- a/
src/procmime.h
+++ b/
src/procmime.h
@@
-48,6
+48,7
@@
typedef enum
MIMETYPE_APPLICATION,
MIMETYPE_MESSAGE,
MIMETYPE_MULTIPART,
+ MIMETYPE_MODEL,
MIMETYPE_UNKNOWN
} MimeMediaType;