]> git.notmuchmail.org Git - notmuch/commit
Do not attempt to output part raw if part is not GMimePart.
authorJameson Graef Rollins <jrollins@finestructure.net>
Fri, 3 Jun 2011 17:01:06 +0000 (10:01 -0700)
committerDavid Bremner <bremner@debian.org>
Wed, 7 Sep 2011 21:41:38 +0000 (18:41 -0300)
commita6b93ef32b3274f0ae51acc336500a439371d0fc
tree7583b41b5a6eb668bfc9d0108b9356cc749f2223
parent6979b6533abb4b3c76126152afd3d196514215da
Do not attempt to output part raw if part is not GMimePart.

This was a minor oversite in checking of part type when outputing
content raw.  This was causing gmime was to throw an exception to
stderr.

Unfortunately the gmime exception was not being caught by notmuch, or
the test suite.  I'm not sure if notmuch should have done anything in
this case, but certainly the test suite should be capable of detecting
that something unexpected was output to stderr.
notmuch-show.c