[PATCH v4 4/4] show: Rewrite show_message_body to use the MIME tree interface.

2011-12-23 Thread Austin Clements
This removes all of the MIME traversal logic from show_message_body and leaves only its interaction with the format callbacks. Besides isolating concerns, since traversal happens behind a trivial interface, there is now much less code duplication in show_message_part. Also, this uses mime_node_se

[PATCH v4 4/4] show: Rewrite show_message_body to use the MIME tree interface.

2011-12-23 Thread Austin Clements
This removes all of the MIME traversal logic from show_message_body and leaves only its interaction with the format callbacks. Besides isolating concerns, since traversal happens behind a trivial interface, there is now much less code duplication in show_message_part. Also, this uses mime_node_se