summaryrefslogtreecommitdiffstats
path: root/g10/cpr.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-08-06 22:12:00 +0200
committerWerner Koch <wk@gnupg.org>2009-08-06 22:12:00 +0200
commit019601191a250f5ec95ca871aa281ae836a1a34e (patch)
tree2d948f3e1fa834f262519853f5556bfe48f37209 /g10/cpr.c
parentEnable readline support in --card-edit. (diff)
downloadgnupg2-019601191a250f5ec95ca871aa281ae836a1a34e.tar.xz
gnupg2-019601191a250f5ec95ca871aa281ae836a1a34e.zip
Improved detection of bad/invalid signer keys.
Diffstat (limited to 'g10/cpr.c')
-rw-r--r--g10/cpr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/g10/cpr.c b/g10/cpr.c
index a20a811ff..1533ac661 100644
--- a/g10/cpr.c
+++ b/g10/cpr.c
@@ -202,6 +202,12 @@ write_status_text_and_buffer ( int no, const char *string,
if (first && string) {
fputs (string, statusfp);
count += strlen (string);
+ /* Make sure that there is space after the string. */
+ if (*string && string[strlen (string)-1] != ' ')
+ {
+ putc (' ', statusfp);
+ count++;
+ }
}
first = 0;
}