[Pkg-gnupg-commit] [gnupg2] 04/185: g10: Fix gpgcompose.c.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Mon Aug 7 11:55:14 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gnupg2.
commit ae95a7f5335e605fcd71fbe4a18ed384c88d590a
Author: NIIBE Yutaka <gniibe at fsij.org>
Date: Wed May 17 10:14:43 2017 +0900
g10: Fix gpgcompose.c.
* g10/gpgcompose.c (show_help): Check return value.
--
Fixes-commit: 00b7767bc6fe309aa20375c859ebf708cfc7b9ea
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
g10/gpgcompose.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/g10/gpgcompose.c b/g10/gpgcompose.c
index 4a2cb81..e541cfe 100644
--- a/g10/gpgcompose.c
+++ b/g10/gpgcompose.c
@@ -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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list