aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo/gnunet-peerinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerinfo/gnunet-peerinfo.c')
-rw-r--r--src/peerinfo/gnunet-peerinfo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/peerinfo/gnunet-peerinfo.c b/src/peerinfo/gnunet-peerinfo.c
index 3ade1468f..b5f41cc59 100644
--- a/src/peerinfo/gnunet-peerinfo.c
+++ b/src/peerinfo/gnunet-peerinfo.c
@@ -50,6 +50,10 @@ print_peer_info (void *cls,
50 50
51 /* FIXME: add printing of address information! 51 /* FIXME: add printing of address information!
52 => need extended transport API! */ 52 => need extended transport API! */
53 if (peer == NULL)
54 {
55 return;
56 }
53 GNUNET_CRYPTO_hash_to_enc (&peer->hashPubKey, &enc); 57 GNUNET_CRYPTO_hash_to_enc (&peer->hashPubKey, &enc);
54 if (be_quiet) 58 if (be_quiet)
55 printf ("%s\n", (const char *) &enc); 59 printf ("%s\n", (const char *) &enc);