mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
2007-12-04 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_component_list_components): Do not print a trailing semi-colon to ensure forward compatibility, as this would indicate another empty field. (gc_process_gpgconf_conf): Likewise.
This commit is contained in:
parent
8c20500a5d
commit
1d282c5938
2 changed files with 2 additions and 2 deletions
|
@ -3315,7 +3315,7 @@ gc_process_gpgconf_conf (const char *fname_arg, int update, int defaults,
|
|||
}
|
||||
|
||||
fprintf (listfp, "k:%s:", my_percent_escape (key));
|
||||
fprintf (listfp, "%s:\n", group? my_percent_escape (group):"");
|
||||
fprintf (listfp, "%s\n", group? my_percent_escape (group):"");
|
||||
}
|
||||
|
||||
/* All other lines are rule records. */
|
||||
|
@ -3326,7 +3326,6 @@ gc_process_gpgconf_conf (const char *fname_arg, int update, int defaults,
|
|||
if (value != empty)
|
||||
fprintf (listfp, "\"%s", my_percent_escape (value));
|
||||
|
||||
putc (':', listfp);
|
||||
putc ('\n', listfp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue