From 11666fe3f8397978759ed51d3e428d17acdf6273 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 14 Jan 2008 17:34:21 +0000 Subject: [PATCH] 2008-01-14 Marcus Brinkmann * engine-gpgconf.c (gpgconf_config_load_cb): Fix program_name field. --- trunk/gpgme/ChangeLog | 5 +++++ trunk/gpgme/engine-gpgconf.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 60b4e50..6287bf6 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2008-01-14 Marcus Brinkmann + + * engine-gpgconf.c (gpgconf_config_load_cb): Fix program_name + field. + 2008-01-10 Marcus Brinkmann * kdpipeiodevice.cpp: New version from Frank Osterfeld. diff --git a/trunk/gpgme/engine-gpgconf.c b/trunk/gpgme/engine-gpgconf.c index d562fda..584bbea 100644 --- a/trunk/gpgme/engine-gpgconf.c +++ b/trunk/gpgme/engine-gpgconf.c @@ -310,8 +310,8 @@ gpgconf_config_load_cb (void *hook, char *line) if (fields >= 3) { - comp->description = strdup (field[2]); - if (!comp->description) + comp->program_name = strdup (field[2]); + if (!comp->program_name) return gpg_error_from_syserror (); } -- 2.26.2