diff options
author | Werner Koch <[email protected]> | 2016-09-29 08:20:38 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-09-29 15:56:37 +0000 |
commit | 95d60c6ce9e8a7a7741553af957978c1f91547c5 (patch) | |
tree | bdcdfe5d0d41081bf53ec022f6a455b407a4c9ce /tools/mime-parser.c | |
parent | tools: Give mime parser callbacks access to the rfc822 parser. (diff) | |
download | gnupg-95d60c6ce9e8a7a7741553af957978c1f91547c5.tar.gz gnupg-95d60c6ce9e8a7a7741553af957978c1f91547c5.zip |
tools: Simplify the mime-maker container creation.
* tools/mime-maker.c (struct part_s): Remove field MEDIATYPE.
(release_parts): Ditto.
(dump_parts): Print a body line only if tehre is a body.
(mime_maker_add_header): Check for body or container.
(mime_maker_add_container): Remove arg MEDIATYPE. Change all callers.
(mime_maker_end_container): New.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions