fixing 1761
authorChristian Grothoff <christian@grothoff.org>
Tue, 6 Sep 2011 09:15:31 +0000 (09:15 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 6 Sep 2011 09:15:31 +0000 (09:15 +0000)
src/peerinfo-tool/gnunet-peerinfo.c

index c61b6abbfc3cd4b59032e4668b0337ccb3b72955..eaaac0c382ea8d151060c3e7acf14025e771dbe0 100644 (file)
@@ -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);