Add a context structure to all message parts and remove the NULL checks. That way instead of returning a broken reply, imap_bodystructure_write() crashes if caller tries to give it non-parsed MIME parts.
Add a context structure to all message parts and remove the NULL checks.
That way instead of returning a broken reply, imap_bodystructure_write()
crashes if caller tries to give it non-parsed MIME parts.

--HG--
branch : HEAD

jkerihuel/dovecot,jkerihuel/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jwm/dovecot-notmuch,jkerihuel/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch