avoid decoding mime-parts unless we realy need to.
authorWilfried Goesgens <dothebart@citadel.org>
Mon, 22 Nov 2010 23:36:48 +0000 (00:36 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Mon, 22 Nov 2010 23:36:48 +0000 (00:36 +0100)
commitf56c54a0313a60d1a692dcae9fe3fbd9e25c4d8c
treea2a1b9e01e6d2286e5f32bacdbad2fcc0ead6790
parentad2c6bbcda0735abefb377d725ff808572e726a2
avoid decoding mime-parts unless we realy need to.

 - suff... doesn't need to decode all attachments; we just need the mime headers here.
 - when searching for the attachment we want to output, we also don't need the content.
 - when outputing an attachment, just decode the attachment were actualy interested in.
citadel/msgbase.c
citadel/msgbase.h