2008-01-14 Marcus Brinkmann <marcus@g10code.de>

* engine-gpgconf.c (gpgconf_config_load_cb): Fix program_name
	field.
This commit is contained in:
Marcus Brinkmann 2008-01-14 17:34:21 +00:00
parent 7813804014
commit bc617afe5f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-01-14 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgconf.c (gpgconf_config_load_cb): Fix program_name
field.
2008-01-10 Marcus Brinkmann <marcus@g10code.de> 2008-01-10 Marcus Brinkmann <marcus@g10code.de>
* kdpipeiodevice.cpp: New version from Frank Osterfeld. * kdpipeiodevice.cpp: New version from Frank Osterfeld.

View File

@ -310,8 +310,8 @@ gpgconf_config_load_cb (void *hook, char *line)
if (fields >= 3) if (fields >= 3)
{ {
comp->description = strdup (field[2]); comp->program_name = strdup (field[2]);
if (!comp->description) if (!comp->program_name)
return gpg_error_from_syserror (); return gpg_error_from_syserror ();
} }