diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2013-07-22 08:26:16 -0500 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2013-07-22 08:26:16 -0500 |
commit | 7450bd0b6c6c05ee6425e2c63e9b79beb94bfbfa (patch) | |
tree | dfde89b41437def7ce23af24db53a11a9b5f1075 /src/util/test_peer.c | |
parent | 740b30688bd745a527f96f9116c19acb3480971a (diff) |
Imported Upstream version 0.9.5aupstream
Diffstat (limited to 'src/util/test_peer.c')
-rw-r--r-- | src/util/test_peer.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/util/test_peer.c b/src/util/test_peer.c index 2a48401..fa4d31b 100644 --- a/src/util/test_peer.c +++ b/src/util/test_peer.c @@ -29,8 +29,6 @@ #define NUMBER_OF_PEERS 10 -#define VERBOSE GNUNET_NO - /** * A list of Peer ID's to play with */ @@ -46,9 +44,8 @@ generatePeerIdList () { GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &pidArr[i].hashPubKey); -#if VERBOSE - printf ("Peer %d: %s\n", i, GNUNET_i2s (&pidArr[i])); -#endif + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "Peer %d: %s\n", i, GNUNET_i2s (&pidArr[i])); } } @@ -124,7 +121,7 @@ check () int main () { - int i; + unsigned int i; GNUNET_log_setup ("test-peer", "ERROR", NULL); for (i = 0; i < 1; i++) |