mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
2004-03-12 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_component_change_options): Set the filenames of the option's backend, not of the component. Also use GC_BACKEND_NR, not GC_COMPONENT_NR.
This commit is contained in:
parent
8927b55c28
commit
2bb4c53e7a
2 changed files with 3 additions and 2 deletions
|
@ -2057,7 +2057,7 @@ gc_component_change_options (int component, FILE *in)
|
|||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < GC_COMPONENT_NR; i++)
|
||||
for (i = 0; i < GC_BACKEND_NR; i++)
|
||||
{
|
||||
if (src_pathname[i])
|
||||
{
|
||||
|
@ -2089,7 +2089,7 @@ gc_component_change_options (int component, FILE *in)
|
|||
int saved_errno = errno;
|
||||
|
||||
/* An error occured. */
|
||||
for (i = 0; i < GC_COMPONENT_NR; i++)
|
||||
for (i = 0; i < GC_BACKEND_NR; i++)
|
||||
{
|
||||
if (src_pathname[i])
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue