aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo-tool
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2011-09-06 09:15:31 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2011-09-06 09:15:31 +0000
commitbde8888b5cd21a4d489c5737de4935748175058a (patch)
treece8a233ecf9355a3e2ad1bcc61c539bf0b1fb409 /src/peerinfo-tool
parent21683bf3738fd88a981613f71b624e4e25226eac (diff)
fixing 1761
git-svn-id: https://gnunet.org/svn/gnunet@16711 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/peerinfo-tool')
-rw-r--r--src/peerinfo-tool/gnunet-peerinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c
index c61b6abbfc..eaaac0c382 100644
--- a/src/peerinfo-tool/gnunet-peerinfo.c
+++ b/src/peerinfo-tool/gnunet-peerinfo.c
@@ -158,7 +158,7 @@ print_peer_info (void *cls, const struct GNUNET_PeerIdentity *peer,
GNUNET_PEERINFO_disconnect (peerinfo);
return;
}
- if (be_quiet)
+ if ( (be_quiet) || (NULL == hello) )
{
GNUNET_CRYPTO_hash_to_enc (&peer->hashPubKey, &enc);
printf ("%s\n", (const char *) &enc);