diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-29 10:19:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-29 10:19:43 +0000 |
commit | cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb (patch) | |
tree | b704e00a3af618b2cd174a7f89514eaebd82a1cf /src/util/test_peer.c | |
parent | bb4fc4f4007988874f910d4de5492f9629301641 (diff) | |
download | gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.tar.gz gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.zip |
run indent twice, it alternates between two 'canonical' forms, also run whitespace remover
Diffstat (limited to 'src/util/test_peer.c')
-rw-r--r-- | src/util/test_peer.c | 8 |
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 | */ |
37 | static struct GNUNET_PeerIdentity pidArr[NUMBER_OF_PEERS]; | 37 | static 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); |