]> git.notmuchmail.org Git - notmuch/commit - lib/index.cc
gmime-cleanup: drop unused gmime 2.6 content_type from _index_encrypted_mime_part
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 2 May 2019 13:19:34 +0000 (09:19 -0400)
committerDavid Bremner <david@tethera.net>
Fri, 3 May 2019 09:50:27 +0000 (06:50 -0300)
commitf6da475e35634cd39d765e75442e5b18401b80ea
tree6005514ed0bdababbb1ec1f8fa0b85409a666161
parent570349e132da5e19b36a004e633b870cec810170
gmime-cleanup: drop unused gmime 2.6 content_type from _index_encrypted_mime_part

In _index_mime_part, we don't need to extract the content-type from
the part until just before we use it, so we also defer it lazily.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
lib/index.cc