2004-12-12 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Sun, 12 Dec 2004 14:58:12 +0000 (14:58 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Sun, 12 Dec 2004 14:58:12 +0000 (14:58 +0000)
* engine.c (_gpgme_set_engine_info): Fix assertion.

gpgme/ChangeLog
gpgme/engine.c

index 5cb0b9d951da0647f84d7a2f327f330cb72a9502..47eb3aa2160679e486ff95dfa5e9cddd95c3dc1d 100644 (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
index abab84e18d8ed1b4d6471f7c86db2594aa9678f3..b331e9a8f001bae017388d7738e33a19a253b6c6 100644 (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)