2008-01-14 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Mon, 14 Jan 2008 17:34:21 +0000 (17:34 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Mon, 14 Jan 2008 17:34:21 +0000 (17:34 +0000)
* engine-gpgconf.c (gpgconf_config_load_cb): Fix program_name
field.

gpgme/ChangeLog
gpgme/engine-gpgconf.c

index 60b4e50..6287bf6 100644 (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>
 
        * kdpipeiodevice.cpp: New version from Frank Osterfeld.
index d562fda..584bbea 100644 (file)
@@ -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 ();
     }