From: Marcus Brinkmann Date: Sun, 12 Dec 2004 14:58:12 +0000 (+0000) Subject: 2004-12-12 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~352 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=862971f4fd38b09c2ce32247818f1a90be3dbce0;p=gpgme.git 2004-12-12 Marcus Brinkmann * engine.c (_gpgme_set_engine_info): Fix assertion. --- diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 5cb0b9d..47eb3aa 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,7 @@ +2004-12-12 Marcus Brinkmann + + * engine.c (_gpgme_set_engine_info): Fix assertion. + 2004-12-11 Marcus Brinkmann * util.h [HAVE_CONFIG_H && HAVE_TTYNAME_R] (ttyname_r): Define diff --git a/trunk/gpgme/engine.c b/trunk/gpgme/engine.c index abab84e..b331e9a 100644 --- a/trunk/gpgme/engine.c +++ b/trunk/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)