From 0c1feed255fd14a508c13b40451b4515b04fe179 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 29 Jul 2003 18:20:09 +0000 Subject: [PATCH] 2003-07-29 Marcus Brinkmann * engine.c (gpgme_get_engine_info): Initialize NULL. --- trunk/gpgme/ChangeLog | 4 ++++ trunk/gpgme/engine.c | 1 + 2 files changed, 5 insertions(+) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 352aa98..3f10f0d 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,7 @@ +2003-07-29 Marcus Brinkmann + + * engine.c (gpgme_get_engine_info): Initialize NULL. + 2003-07-23 Marcus Brinkmann * gpgme-config.in (gpg_error_libs): Quote GPG_ERROR_CFLAGS and diff --git a/trunk/gpgme/engine.c b/trunk/gpgme/engine.c index afb831d..034edc1 100644 --- a/trunk/gpgme/engine.c +++ b/trunk/gpgme/engine.c @@ -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; } } -- 2.26.2