2005-11-27 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Sun, 27 Nov 2005 17:11:55 +0000 (17:11 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Sun, 27 Nov 2005 17:11:55 +0000 (17:11 +0000)
* engine.c (_gpgme_set_engine_info): Use new_file_name in
engine_get_version invocation.  Reported by Stéphane Corthésy.

gpgme/ChangeLog
gpgme/engine.c

index ec5b8e8c3b5a2b3d0789720c4545bcc91150e98f..1f717623a54eb641a6d9ea3fec79caa659c1bb81 100644 (file)
@@ -1,3 +1,8 @@
+2005-11-27  Marcus Brinkmann  <marcus@g10code.de>
+
+       * engine.c (_gpgme_set_engine_info): Use new_file_name in
+       engine_get_version invocation.  Reported by Stéphane Corthésy.
+
 2005-11-24  Marcus Brinkmann  <marcus@g10code.de>
 
        * w32-glib-io.c (_gpgme_io_fd2str): Remove debug printf.
index 51f797e8eca38d539a8adda970daaa897983c95e..a07fcdc410312b28803d32a5e7068a353aa87d7c 100644 (file)
@@ -335,7 +335,7 @@ _gpgme_set_engine_info (gpgme_engine_info_t info, gpgme_protocol_t proto,
   /* Install the new members.  */
   info->file_name = new_file_name;
   info->home_dir = new_home_dir;
-  info->version = engine_get_version (proto, file_name);
+  info->version = engine_get_version (proto, new_file_name);
 
   return 0;
 }