diff options
Diffstat (limited to 'src/dht/test_dht_api.c')
-rw-r--r-- | src/dht/test_dht_api.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dht/test_dht_api.c b/src/dht/test_dht_api.c index 000ad3344..40d7f5b77 100644 --- a/src/dht/test_dht_api.c +++ b/src/dht/test_dht_api.c | |||
@@ -177,7 +177,7 @@ test_get_stop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
177 | 177 | ||
178 | static void | 178 | static void |
179 | test_get_iterator (void *cls, struct GNUNET_TIME_Absolute exp, | 179 | test_get_iterator (void *cls, struct GNUNET_TIME_Absolute exp, |
180 | const GNUNET_HashCode * key, | 180 | const struct GNUNET_HashCode * key, |
181 | const struct GNUNET_PeerIdentity *get_path, | 181 | const struct GNUNET_PeerIdentity *get_path, |
182 | unsigned int get_path_length, | 182 | unsigned int get_path_length, |
183 | const struct GNUNET_PeerIdentity *put_path, | 183 | const struct GNUNET_PeerIdentity *put_path, |
@@ -201,9 +201,9 @@ static void | |||
201 | test_get (void *cls, int success) | 201 | test_get (void *cls, int success) |
202 | { | 202 | { |
203 | struct PeerContext *peer = cls; | 203 | struct PeerContext *peer = cls; |
204 | GNUNET_HashCode hash; | 204 | struct GNUNET_HashCode hash; |
205 | 205 | ||
206 | memset (&hash, 42, sizeof (GNUNET_HashCode)); | 206 | memset (&hash, 42, sizeof (struct GNUNET_HashCode)); |
207 | 207 | ||
208 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Called test_get!\n"); | 208 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Called test_get!\n"); |
209 | 209 | ||
@@ -238,11 +238,11 @@ static void | |||
238 | test_put (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 238 | test_put (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) |
239 | { | 239 | { |
240 | struct PeerContext *peer = cls; | 240 | struct PeerContext *peer = cls; |
241 | GNUNET_HashCode hash; | 241 | struct GNUNET_HashCode hash; |
242 | char *data; | 242 | char *data; |
243 | size_t data_size = 42; | 243 | size_t data_size = 42; |
244 | 244 | ||
245 | memset (&hash, 42, sizeof (GNUNET_HashCode)); | 245 | memset (&hash, 42, sizeof (struct GNUNET_HashCode)); |
246 | data = GNUNET_malloc (data_size); | 246 | data = GNUNET_malloc (data_size); |
247 | memset (data, 43, data_size); | 247 | memset (data, 43, data_size); |
248 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Called test_put!\n"); | 248 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Called test_put!\n"); |