From bca775102ec4d107e27cd706786e5a4b931ac8cc Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 27 Nov 2005 17:11:55 +0000 Subject: [PATCH] 2005-11-27 Marcus Brinkmann MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * engine.c (_gpgme_set_engine_info): Use new_file_name in engine_get_version invocation. Reported by Stéphane Corthésy. --- gpgme/ChangeLog | 5 +++++ gpgme/engine.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index ec5b8e8c..1f717623 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2005-11-27 Marcus Brinkmann + + * 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 * w32-glib-io.c (_gpgme_io_fd2str): Remove debug printf. diff --git a/gpgme/engine.c b/gpgme/engine.c index 51f797e8..a07fcdc4 100644 --- a/gpgme/engine.c +++ b/gpgme/engine.c @@ -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; }