From d26377053df40c75be41ba726427c61781464919 Mon Sep 17 00:00:00 2001 From: Darshit Shah <darnir@gmail.com> Date: Fri, 25 Mar 2016 16:22:21 +0100 Subject: [PATCH] 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. * Do not delete the ChangeLog file since it is required by the Makefile and breaks compilation --- src/metalink.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/metalink.c b/src/metalink.c index 4f500682..18f5f5d4 100644 --- a/src/metalink.c +++ b/src/metalink.c @@ -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))