aboutsummaryrefslogtreecommitdiffstats
path: root/src/trustlist.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-11-16 15:57:09 +0000
committerWerner Koch <[email protected]>2018-11-16 15:57:09 +0000
commitcf423864062a2677d0eeabbb11462a788f527b4c (patch)
treee00dc76f2a2ffc47858880631ddefe13be13fbd1 /src/trustlist.c
parentcore: Remove old debug helper function (diff)
downloadgpgme-cf423864062a2677d0eeabbb11462a788f527b4c.tar.gz
gpgme-cf423864062a2677d0eeabbb11462a788f527b4c.zip
core: Fix format string errors in trace macros
-- Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r--src/trustlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/trustlist.c b/src/trustlist.c
index c7778379..a0e82385 100644
--- a/src/trustlist.c
+++ b/src/trustlist.c
@@ -246,20 +246,20 @@ gpgme_op_trustlist_next (gpgme_ctx_t ctx, gpgme_trust_item_t *r_item)
if ((*r_item)->type == 1)
{
TRACE_SUC ("trust_item=%p: %s: owner trust %s with level %i "
- "and validity 0x%x", *r_item, (*r_item)->keyid,
+ "and validity %s", *r_item, (*r_item)->keyid,
(*r_item)->owner_trust, (*r_item)->level,
(*r_item)->validity);
}
else if ((*r_item)->type == 2)
{
TRACE_SUC ("trust_item=%p: %s: UID %s with level %i "
- "and validity 0x%x", *r_item, (*r_item)->keyid,
+ "and validity %s", *r_item, (*r_item)->keyid,
(*r_item)->name, (*r_item)->level, (*r_item)->validity);
}
else
{
TRACE_SUC ("trust_item=%p: %s: unknown type %i with level %i "
- "and validity 0x%x", *r_item, (*r_item)->keyid,
+ "and validity %s", *r_item, (*r_item)->keyid,
(*r_item)->type, (*r_item)->level, (*r_item)->validity);
}
return 0;