2008-01-10 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgconf.c (gpgconf_config_load_cb2): Handle the flag NO_ARG_DESC.
This commit is contained in:
parent
62a1429a5c
commit
e65bb3ef3c
@ -1,3 +1,8 @@
|
|||||||
|
2008-01-10 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* engine-gpgconf.c (gpgconf_config_load_cb2): Handle the flag
|
||||||
|
NO_ARG_DESC.
|
||||||
|
|
||||||
2008-01-04 Marcus Brinkmann <marcus@g10code.de>
|
2008-01-04 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* Makefile.am (gpgconf_components): New variable.
|
* Makefile.am (gpgconf_components): New variable.
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
// Check protocol.
|
|
||||||
// IMPLEMENT NO_ARG_DESC!!!!
|
|
||||||
|
|
||||||
/* engine-gpgconf.c - gpg-conf engine.
|
/* engine-gpgconf.c - gpg-conf engine.
|
||||||
Copyright (C) 2000 Werner Koch (dd9jn)
|
Copyright (C) 2000 Werner Koch (dd9jn)
|
||||||
Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007 g10 Code GmbH
|
Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2008 g10 Code GmbH
|
||||||
|
|
||||||
This file is part of GPGME.
|
This file is part of GPGME.
|
||||||
|
|
||||||
@ -457,9 +454,18 @@ gpgconf_config_load_cb2 (void *hook, char *line)
|
|||||||
return gpg_error_from_syserror ();
|
return gpg_error_from_syserror ();
|
||||||
}
|
}
|
||||||
|
|
||||||
err = gpgconf_parse_option (opt, &opt->no_arg_value, field[8]);
|
if (opt->flags & GPGME_CONF_NO_ARG_DESC)
|
||||||
if (err)
|
{
|
||||||
return err;
|
opt->no_arg_description = strdup (field[8]);
|
||||||
|
if (!opt->no_arg_description)
|
||||||
|
return gpg_error_from_syserror ();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
err = gpgconf_parse_option (opt, &opt->no_arg_value, field[8]);
|
||||||
|
if (err)
|
||||||
|
return err;
|
||||||
|
}
|
||||||
|
|
||||||
err = gpgconf_parse_option (opt, &opt->value, field[9]);
|
err = gpgconf_parse_option (opt, &opt->value, field[9]);
|
||||||
if (err)
|
if (err)
|
||||||
|
Loading…
Reference in New Issue
Block a user