projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
348afa7
)
mhshow: properly treat unknown multipart subtypes as "mixed"
author
Paul Fox
<pgf@foxharp.boston.ma.us>
Fri, 7 Dec 2012 15:27:52 +0000
(10:27 -0500)
committer
Paul Fox
<pgf@foxharp.boston.ma.us>
Fri, 7 Dec 2012 15:33:37 +0000
(10:33 -0500)
uip/mhshowsbr.c
patch
|
blob
|
history
diff --git
a/uip/mhshowsbr.c
b/uip/mhshowsbr.c
index
550669a
..
80fc9eb
100644
(file)
--- a/
uip/mhshowsbr.c
+++ b/
uip/mhshowsbr.c
@@
-655,14
+655,11
@@
show_multi (CT ct, int serial, int alternate)
return show_multi_aux (ct, serial, alternate, cp);
/*
return show_multi_aux (ct, serial, alternate, cp);
/*
- * Use default method to display this multipart content
- * if it is not a (nested) part of a multipart/alternative,
- * or if it is one of the known subtypes of multipart.
+ * Use default method to display this multipart content. Even
+ * unknown types are displayable, since they're treated as mixed
+ * per RFC 2046.
*/
*/
- if (!alternate || ct->c_subtype != MULTI_UNKNOWN)
- return show_multi_internal (ct, serial, alternate);
-
- return NOTOK;
+ return show_multi_internal (ct, serial, alternate);
}
}