diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-07-07 06:27:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-07-07 06:27:10 +0000 |
commit | ac2de52a5de68f6f4f13b7aa01a481869fffc6aa (patch) | |
tree | 856c9f0b2f55f8cae99f3c7b3bf22beaecbf58da /src/peerinfo/test_peerinfo_api.c | |
parent | c1a3c11f8665432d9db6d549c28c0329668e66af (diff) | |
download | gnunet-ac2de52a5de68f6f4f13b7aa01a481869fffc6aa.tar.gz gnunet-ac2de52a5de68f6f4f13b7aa01a481869fffc6aa.zip |
hacks from trip
Diffstat (limited to 'src/peerinfo/test_peerinfo_api.c')
-rw-r--r-- | src/peerinfo/test_peerinfo_api.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/peerinfo/test_peerinfo_api.c b/src/peerinfo/test_peerinfo_api.c index dd931f4bc..47304d549 100644 --- a/src/peerinfo/test_peerinfo_api.c +++ b/src/peerinfo/test_peerinfo_api.c | |||
@@ -102,7 +102,7 @@ add_peer () | |||
102 | static void | 102 | static void |
103 | process (void *cls, | 103 | process (void *cls, |
104 | const struct GNUNET_PeerIdentity *peer, | 104 | const struct GNUNET_PeerIdentity *peer, |
105 | const struct GNUNET_HELLO_Message *hello, uint32_t trust) | 105 | const struct GNUNET_HELLO_Message *hello) |
106 | { | 106 | { |
107 | int *ok = cls; | 107 | int *ok = cls; |
108 | unsigned int agc; | 108 | unsigned int agc; |
@@ -118,7 +118,6 @@ process (void *cls, | |||
118 | add_peer (); | 118 | add_peer (); |
119 | ic = GNUNET_PEERINFO_iterate (h, | 119 | ic = GNUNET_PEERINFO_iterate (h, |
120 | NULL, | 120 | NULL, |
121 | 0, | ||
122 | GNUNET_TIME_relative_multiply | 121 | GNUNET_TIME_relative_multiply |
123 | (GNUNET_TIME_UNIT_SECONDS, 15), | 122 | (GNUNET_TIME_UNIT_SECONDS, 15), |
124 | &process, cls); | 123 | &process, cls); |
@@ -126,7 +125,6 @@ process (void *cls, | |||
126 | } | 125 | } |
127 | GNUNET_assert (peer == NULL); | 126 | GNUNET_assert (peer == NULL); |
128 | GNUNET_assert (2 == *ok); | 127 | GNUNET_assert (2 == *ok); |
129 | GNUNET_assert (trust == 0); | ||
130 | GNUNET_PEERINFO_disconnect (h); | 128 | GNUNET_PEERINFO_disconnect (h); |
131 | h = NULL; | 129 | h = NULL; |
132 | *ok = 0; | 130 | *ok = 0; |
@@ -156,7 +154,6 @@ run (void *cls, | |||
156 | add_peer (); | 154 | add_peer (); |
157 | ic = GNUNET_PEERINFO_iterate (h, | 155 | ic = GNUNET_PEERINFO_iterate (h, |
158 | NULL, | 156 | NULL, |
159 | 0, | ||
160 | GNUNET_TIME_relative_multiply | 157 | GNUNET_TIME_relative_multiply |
161 | (GNUNET_TIME_UNIT_SECONDS, 15), | 158 | (GNUNET_TIME_UNIT_SECONDS, 15), |
162 | &process, cls); | 159 | &process, cls); |