2004-12-12 Marcus Brinkmann <marcus@g10code.de>

* engine.c (_gpgme_set_engine_info): Fix assertion.
This commit is contained in:
Marcus Brinkmann 2004-12-12 14:58:12 +00:00
parent c00c3c75ff
commit 3ad6f89275
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-12-12 Marcus Brinkmann <marcus@g10code.de>
* engine.c (_gpgme_set_engine_info): Fix assertion.
2004-12-11 Marcus Brinkmann <marcus@g10code.de>
* util.h [HAVE_CONFIG_H && HAVE_TTYNAME_R] (ttyname_r): Define

View File

@ -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)