summaryrefslogtreecommitdiffstats
path: root/sqwebmail/newmsg_newdraft.c
diff options
context:
space:
mode:
authorSam Varshavchik2018-07-29 09:43:38 -0400
committerSam Varshavchik2018-07-29 09:43:38 -0400
commit8110e928827657babbe047832460d768310d789d (patch)
treef7955d5a635433207da3510408b23f0395c3838b /sqwebmail/newmsg_newdraft.c
parent92af82b7b2e35f37421ff0724ffadf4eda06c840 (diff)
downloadcourier-libs-8110e928827657babbe047832460d768310d789d.tar.bz2
UTF8 changes.
Diffstat (limited to 'sqwebmail/newmsg_newdraft.c')
-rw-r--r--sqwebmail/newmsg_newdraft.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sqwebmail/newmsg_newdraft.c b/sqwebmail/newmsg_newdraft.c
index 6eb4a9b..8158d40 100644
--- a/sqwebmail/newmsg_newdraft.c
+++ b/sqwebmail/newmsg_newdraft.c
@@ -105,7 +105,8 @@ int x;
rfc2045_mimeinfo(rfc2045partp, &content_type,
&dummy, &dummy);
- if (!content_type || strcmp(content_type, "message/rfc822"))
+ if (!content_type ||
+ !rfc2045_message_content_type(content_type))
rfc2045partp=0;
else
rfc2045partp=rfc2045partp->firstpart;