From: Marcus Brinkmann Date: Fri, 22 Sep 2006 12:29:36 +0000 (+0000) Subject: 2006-09-22 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~203 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6549b4a1ac23014e612b8d599f5dc3c4fe5bad96;p=gpgme.git 2006-09-22 Marcus Brinkmann * keylist.c (keylist_colon_handler): Move debug output after initialising KEY. --- 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. */