From 4b1393f66411ad17afe743a52f8926271b4833af Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Fri, 22 Sep 2006 12:29:36 +0000 Subject: [PATCH] 2006-09-22 Marcus Brinkmann * keylist.c (keylist_colon_handler): Move debug output after initialising KEY. --- gpgme/ChangeLog | 5 +++++ gpgme/keylist.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index ab66d81..63be946 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2006-09-22 Marcus Brinkmann + + * keylist.c (keylist_colon_handler): Move debug output after + initialising KEY. + 2006-07-29 Marcus Brinkmann * gpgme-config.in (Options): Add NETLIBS. diff --git a/gpgme/keylist.c b/gpgme/keylist.c index b619016..8e3fefe 100644 --- a/gpgme/keylist.c +++ b/gpgme/keylist.c @@ -386,9 +386,6 @@ keylist_colon_handler (void *priv, char *line) gpgme_subkey_t subkey = NULL; gpgme_key_sig_t keysig = NULL; - DEBUG3 ("keylist_colon_handler ctx = %p, key = %p, line = %s\n", - ctx, key, line ? line : "(null)"); - err = _gpgme_op_data_lookup (ctx, OPDATA_KEYLIST, &hook, -1, NULL); opd = hook; if (err) @@ -396,6 +393,9 @@ keylist_colon_handler (void *priv, char *line) key = opd->tmp_key; + DEBUG3 ("keylist_colon_handler ctx = %p, key = %p, line = %s\n", + ctx, key, line ? line : "(null)"); + if (!line) { /* End Of File. */ -- 2.26.2