]> git.notmuchmail.org Git - notmuch/commit
mime-node: split out _mime_node_set_up_part
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 29 Aug 2019 15:38:46 +0000 (11:38 -0400)
committerDavid Bremner <david@tethera.net>
Sun, 1 Sep 2019 11:17:00 +0000 (08:17 -0300)
commitdcfa2fc99667467011516a3223f7889c05955746
treeec39b7b67f84d6352b3204470abe776be612d006
parente13862f127394fd4addc5d2cf604b3af399c8377
mime-node: split out _mime_node_set_up_part

This is a code reorganization that should have no functional effect,
but will make future changes simpler, because a future commit will
reuse the _mime_node_set_up_part functionality without touching
_mime_node_create.

In the course of splitting out this function, I noticed a comment in
the codebase that referred to an older name of _mime_node_create
(message_part_create), where this functionality originally resided.
I've fixed that comment to refer to the new function instead.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
mime-node.c