2003-07-29 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Tue, 29 Jul 2003 18:20:09 +0000 (18:20 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Tue, 29 Jul 2003 18:20:09 +0000 (18:20 +0000)
* engine.c (gpgme_get_engine_info): Initialize NULL.

gpgme/ChangeLog
gpgme/engine.c

index 352aa98..3f10f0d 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-29  Marcus Brinkmann  <marcus@g10code.de>
+
+       * engine.c (gpgme_get_engine_info): Initialize NULL.
+
 2003-07-23  Marcus Brinkmann  <marcus@g10code.de>
 
        * gpgme-config.in (gpg_error_libs): Quote GPG_ERROR_CFLAGS and
index afb831d..034edc1 100644 (file)
@@ -147,6 +147,7 @@ gpgme_get_engine_info (gpgme_engine_info_t *info)
          (*lastp)->file_name = file_name;
          (*lastp)->version = engine_get_version (proto_list[proto]);
          (*lastp)->req_version = engine_get_req_version (proto_list[proto]);
+         (*lastp)->next = NULL;
          lastp = &(*lastp)->next;
        }
     }