mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Avoid extra LF in notaion data listing.
* g10/keylist.c (show_notation): Use log_printf.
This commit is contained in:
parent
38b583ab3c
commit
b4e402cb5c
1 changed files with 6 additions and 1 deletions
|
@ -393,7 +393,12 @@ show_notation (PKT_signature * sig, int indent, int mode, int which)
|
|||
print_utf8_buffer (fp, nd->name, strlen (nd->name));
|
||||
es_fprintf (fp, "=");
|
||||
print_utf8_buffer (fp, nd->value, strlen (nd->value));
|
||||
es_fprintf (fp, "\n");
|
||||
/* (We need to use log_printf so that the next call to a
|
||||
log function does not insert an extra LF.) */
|
||||
if (mode)
|
||||
log_printf ("\n");
|
||||
else
|
||||
es_putc ('\n', fp);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue