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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/test_peer.c b/src/util/test_peer.c
index 395d40712..1729114ff 100644
--- a/src/util/test_peer.c
+++ b/src/util/test_peer.c
@@ -32,7 +32,7 @@
32#define DEBUG GNUNET_NO 32#define DEBUG GNUNET_NO
33 33
34/** 34/**
35 * A list of Peer ID's to play with 35 * A list of Peer ID's to play with
36 */ 36 */
37static struct GNUNET_PeerIdentity pidArr[NUMBER_OF_PEERS]; 37static struct GNUNET_PeerIdentity pidArr[NUMBER_OF_PEERS];
38 38
@@ -99,10 +99,10 @@ check ()
99 GNUNET_PEER_resolve (1, &res); 99 GNUNET_PEER_resolve (1, &res);
100 GNUNET_assert (0 == memcmp (&res, &pidArr[0], sizeof (res))); 100 GNUNET_assert (0 == memcmp (&res, &pidArr[0], sizeof (res)));
101 101
102 /* 102 /*
103 * Attempt to convert pid = 0 (which is reserved) 103 * Attempt to convert pid = 0 (which is reserved)
104 * into a peer identity object, the peer identity memory 104 * into a peer identity object, the peer identity memory
105 * is expected to be set to zero 105 * is expected to be set to zero
106 */ 106 */
107 memset (&zero, 0, sizeof (struct GNUNET_PeerIdentity)); 107 memset (&zero, 0, sizeof (struct GNUNET_PeerIdentity));
108 GNUNET_log_skip (1, GNUNET_YES); 108 GNUNET_log_skip (1, GNUNET_YES);