[PATCH] attachment tree improvement
Dennis Preiser <[email protected]> Sun, 17 Oct 2010 19:17:51 +0200
| Newsgroups | gmane.network.tin.devel |
|---|---|
| Message-ID | <[email protected]> |
It turns out that the current code does not handle deeply nested attachments very well. Attached patch changes the behavior the following way: The attachment tree behaves like the thread tree now, so it 'wraps' if the right edge (minus strlen(txt_attachment_no_name)) is reached. I adopted the code from thread.c:make_prefix() for this. Also attached a sample mbox with deeply nested parts for testing. Dennis
20101017.diff.gz
(application/x-gunzip, 1.4 KB) - not displayed
test.mbox.gz
(application/x-gunzip, 1.2 KB) - not displayed