From: Marcus Brinkmann Date: Mon, 14 Jan 2008 17:34:21 +0000 (+0000) Subject: 2008-01-14 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~89 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=11666fe3f8397978759ed51d3e428d17acdf6273;p=gpgme.git 2008-01-14 Marcus Brinkmann * engine-gpgconf.c (gpgconf_config_load_cb): Fix program_name field. --- 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 (); }