aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/keylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpgme/keylist.c')
-rw-r--r--gpgme/keylist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpgme/keylist.c b/gpgme/keylist.c
index 044fb757..e7c211e5 100644
--- a/gpgme/keylist.c
+++ b/gpgme/keylist.c
@@ -255,7 +255,8 @@ keylist_colon_handler (GpgmeCtx ctx, char *line)
const char *trust_info = NULL;
struct subkey_s *sk = NULL;
- DEBUG3 ("keylist_colon_handler ctx=%p, key=%p, line=%s\n", ctx, key, line);
+ DEBUG3 ("keylist_colon_handler ctx=%p, key=%p, line=%s\n", ctx, key,
+ line? line: "(null)");
if (ctx->error)
return;
if (!line)