From: Marcus Brinkmann Date: Sun, 12 Dec 2004 14:58:12 +0000 (+0000) Subject: 2004-12-12 Marcus Brinkmann X-Git-Tag: gpgme-1-1-0~61 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3ad6f89275e6aa1906324a164dc794b9e12f5196;p=gpgme.git 2004-12-12 Marcus Brinkmann * engine.c (_gpgme_set_engine_info): Fix assertion. --- diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 5cb0b9d..47eb3aa 100644 --- a/gpgme/ChangeLog +++ b/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/gpgme/engine.c b/gpgme/engine.c index abab84e..b331e9a 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)