[Commits] [SCM] claws branch, master, updated. 3.17.3-143-g0c0a3c7

claws at claws-mail.org claws at claws-mail.org
Sun Mar 24 14:39:04 CET 2019


The branch, master has been updated
       via  0c0a3c773b657bb80f4af3b7dbfd9646766bb526 (commit)
      from  0ffa910327b3476aafec74013d69af98dd9fb5e2 (commit)

Summary of changes:
 src/procmime.c |    1 +
 src/procmime.h |    1 +
 2 files changed, 2 insertions(+)


- Log -----------------------------------------------------------------
commit 0c0a3c773b657bb80f4af3b7dbfd9646766bb526
Author: Paul <paul at claws-mail.org>
Date:   Sun Mar 24 13:38:58 2019 +0000

    recognise model/* mime type
    
    fixes bug 4188, 'STL file is sent not as an attachment but as its base64
    representation in plaintext'

diff --git a/src/procmime.c b/src/procmime.c
index 6bcf5bb..2be6961 100644
--- 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 b21dc94..ac73447 100644
--- 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;
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list