From bc617afe5fa525826d97bcf46f57122aca137e2f 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. --- gpgme/ChangeLog | 5 +++++ gpgme/engine-gpgconf.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 60b4e50..6287bf6 100644 --- a/gpgme/ChangeLog +++ b/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/gpgme/engine-gpgconf.c b/gpgme/engine-gpgconf.c index d562fda..584bbea 100644 --- a/gpgme/engine-gpgconf.c +++ b/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