aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2004-12-12 14:58:12 +0000
committerMarcus Brinkmann <[email protected]>2004-12-12 14:58:12 +0000
commit3ad6f89275e6aa1906324a164dc794b9e12f5196 (patch)
tree021af3680ff48c609b61a35bdf54ed17dc0ec715
parentSmall beautification. (diff)
downloadgpgme-3ad6f89275e6aa1906324a164dc794b9e12f5196.tar.gz
gpgme-3ad6f89275e6aa1906324a164dc794b9e12f5196.zip
2004-12-12 Marcus Brinkmann <[email protected]>
* engine.c (_gpgme_set_engine_info): Fix assertion.
Diffstat (limited to '')
-rw-r--r--gpgme/ChangeLog4
-rw-r--r--gpgme/engine.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog
index 5cb0b9d9..47eb3aa2 100644
--- a/gpgme/ChangeLog
+++ b/gpgme/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-12 Marcus Brinkmann <[email protected]>
+
+ * engine.c (_gpgme_set_engine_info): Fix assertion.
+
2004-12-11 Marcus Brinkmann <[email protected]>
* util.h [HAVE_CONFIG_H && HAVE_TTYNAME_R] (ttyname_r): Define
diff --git a/gpgme/engine.c b/gpgme/engine.c
index abab84e1..b331e9a8 100644
--- a/gpgme/engine.c
+++ b/gpgme/engine.c
@@ -305,7 +305,7 @@ _gpgme_set_engine_info (gpgme_engine_info_t info, gpgme_protocol_t proto,
else
{
new_file_name = engine_get_file_name (proto);
- assert (file_name);
+ assert (new_file_name);
new_file_name = strdup (new_file_name);
}
if (!new_file_name)