* update attachment extraction code:

- only consider 'leaf', 'message' parts in for_each
   - special handling for gmimemessage
   - some cleanups
This commit is contained in:
djcb
2012-02-13 22:35:22 +02:00
parent 7f44863566
commit 3bb93a401b
5 changed files with 231 additions and 83 deletions

View File

@ -788,7 +788,7 @@ include_attachments (MuMsg *msg)
GString *gstr;
attlist = NULL;
mu_msg_part_foreach (msg,(MuMsgPartForeachFunc)each_part,
mu_msg_part_foreach (msg, FALSE, (MuMsgPartForeachFunc)each_part,
&attlist);
gstr = g_string_sized_new (512);