aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_peer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_peer.c')
-rw-r--r--src/util/test_peer.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/util/test_peer.c b/src/util/test_peer.c
index 2a4840102..fa4d31b8d 100644
--- a/src/util/test_peer.c
+++ b/src/util/test_peer.c
@@ -29,8 +29,6 @@
29 29
30#define NUMBER_OF_PEERS 10 30#define NUMBER_OF_PEERS 10
31 31
32#define VERBOSE GNUNET_NO
33
34/** 32/**
35 * A list of Peer ID's to play with 33 * A list of Peer ID's to play with
36 */ 34 */
@@ -46,9 +44,8 @@ generatePeerIdList ()
46 { 44 {
47 GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, 45 GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK,
48 &pidArr[i].hashPubKey); 46 &pidArr[i].hashPubKey);
49#if VERBOSE 47 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
50 printf ("Peer %d: %s\n", i, GNUNET_i2s (&pidArr[i])); 48 "Peer %d: %s\n", i, GNUNET_i2s (&pidArr[i]));
51#endif
52 } 49 }
53} 50}
54 51
@@ -124,7 +121,7 @@ check ()
124int 121int
125main () 122main ()
126{ 123{
127 int i; 124 unsigned int i;
128 125
129 GNUNET_log_setup ("test-peer", "ERROR", NULL); 126 GNUNET_log_setup ("test-peer", "ERROR", NULL);
130 for (i = 0; i < 1; i++) 127 for (i = 0; i < 1; i++)