Print the fingerprint instead of the raw pointer in debugging message

* src/metalink.c (retrieve_from_metalink): Fix debug message to print the
fingerprint instead of a pointer.
This commit is contained in:
Giuseppe Scrivano 2016-03-25 16:22:21 +01:00
parent 76ef65b23c
commit b916595168
2 changed files with 1 additions and 4 deletions

View File

View File

@ -342,10 +342,7 @@ retrieve_from_metalink (const metalink_t* metalink)
/* The list is null-terminated. */
for (gpgsig = gpgres->signatures; gpgsig; gpgsig = gpgsig->next)
{
DEBUGP (("Checking signature 0x%p\n",
(void *) gpgsig));
DEBUGP (("Summary=0x%x Status=0x%x\n",
gpgsig->summary, gpgsig->status & 0xFFFF));
DEBUGP (("Checking signature %s\n", gpgsig->fpr));
if (gpgsig->summary
& (GPGME_SIGSUM_VALID | GPGME_SIGSUM_GREEN))