From 6549b4a1ac23014e612b8d599f5dc3c4fe5bad96 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. --- trunk/gpgme/ChangeLog | 5 +++++ trunk/gpgme/keylist.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index ab66d81..63be946 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/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/trunk/gpgme/keylist.c b/trunk/gpgme/keylist.c index b619016..8e3fefe 100644 --- a/trunk/gpgme/keylist.c +++ b/trunk/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