g10: Fix gpgcompose.c.

* g10/gpgcompose.c (show_help): Check return value.

--

Fixes-commit: 00b7767bc6
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2017-05-17 10:14:43 +09:00
parent a8dd96826f
commit ae95a7f533
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ show_help (struct option options[])
if (! option)
space = 72;
formatted = format_text (tmp, space, space + 4);
if (!format_text)
if (!formatted)
abort ();
if (tmp != help)