1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

2004-02-26 Marcus Brinkmann <marcus@g10code.de>

* gpgconf-comp.c (retrieve_options_from_program): Remove broken
	string handling.
This commit is contained in:
Marcus Brinkmann 2004-02-26 18:54:46 +00:00
parent aa7a4c1aec
commit bfd5ed026c
2 changed files with 3 additions and 6 deletions

View File

@ -1,5 +1,8 @@
2004-02-26 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (retrieve_options_from_program): Remove broken
string handling.
* gpgconf-comp.c (change_options_program): Support all types of
options, including list types.

View File

@ -1084,12 +1084,6 @@ retrieve_options_from_program (gc_component_t component, gc_backend_t backend)
{
char *opt_val = opt_value;
if (gc_arg_type[option->arg_type].fallback
== GC_ARG_TYPE_STRING)
opt_val++;
/* FIXME. For type none arguments, this is
wrong. */
option->value = xasprintf ("%s,%s", option->value,
opt_val);
xfree (opt_value);