projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
500adc0
)
* microshits RFC Violator will just show the tinnef part of a message you reply to...
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 8 Nov 2009 11:24:03 +0000
(11:24 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 8 Nov 2009 11:24:03 +0000
(11:24 +0000)
webcit/msg_renderers.c
patch
|
blob
|
history
diff --git
a/webcit/msg_renderers.c
b/webcit/msg_renderers.c
index 7fd334977b217dace7eba0d1856f906da29b7a3f..8d0010fb03e9b351e2c000f056a3da971674972b 100644
(file)
--- a/
webcit/msg_renderers.c
+++ b/
webcit/msg_renderers.c
@@
-1066,8
+1066,9
@@
void tmplput_MIME_LoadData(StrBuf *Target, WCTemplputParams *TP)
wc_mime_attachment *mime = (wc_mime_attachment*) CTX;
wc_mime_attachment *att;
- if ( (!strcasecmp(ChrPtr(mime->Disposition), "inline"))||
- (!strcasecmp(ChrPtr(mime->Disposition), "attachment")) )
+ if (( (!strcasecmp(ChrPtr(mime->Disposition), "inline"))||
+ (!strcasecmp(ChrPtr(mime->Disposition), "attachment"))) &&
+ (strcasecmp(ChrPtr(mime->ContentType), "application/ms-tnef")!=0))
{
int n;