tools: Fix use of uninitialized var in mime-maker.
authorWerner Koch <wk@gnupg.org>
Thu, 8 Dec 2016 12:04:06 +0000 (13:04 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 8 Dec 2016 12:08:02 +0000 (13:08 +0100)
commitdd03667ab1062bba3b9413c3f8007d63302d1b31
treef2eddce56adede16d23f675501b0dc521d4288c0
parentb265969154741bf9f93167699fe7ddda1d485265
tools: Fix use of uninitialized var in mime-maker.

* tools/mime-maker.c (ensure_part): Make sure to set R_PARENT on
error.
(add_missing_headers): Ensure that ERR is set on success.

* tools/wks-util.c (wks_parse_policy): Fix indentation.

Signed-off-by: Werner Koch <wk@gnupg.org>
tools/mime-maker.c
tools/wks-util.c