aboutsummaryrefslogtreecommitdiff
path: root/src/dht/test_dht_monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dht/test_dht_monitor.c')
-rw-r--r--src/dht/test_dht_monitor.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dht/test_dht_monitor.c b/src/dht/test_dht_monitor.c
index 31c5e7bc4..77fa6609d 100644
--- a/src/dht/test_dht_monitor.c
+++ b/src/dht/test_dht_monitor.c
@@ -184,7 +184,7 @@ disconnect_peers (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
184 184
185static void 185static void
186dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp, 186dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
187 const GNUNET_HashCode * key, 187 const struct GNUNET_HashCode * key,
188 const struct GNUNET_PeerIdentity *get_path, 188 const struct GNUNET_PeerIdentity *get_path,
189 unsigned int get_path_length, 189 unsigned int get_path_length,
190 const struct GNUNET_PeerIdentity *put_path, 190 const struct GNUNET_PeerIdentity *put_path,
@@ -195,9 +195,9 @@ dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
195 195
196 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 196 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
197 "test: ************* FOUND!!! ***********\n"); 197 "test: ************* FOUND!!! ***********\n");
198 if (sizeof (GNUNET_HashCode) == size) 198 if (sizeof (struct GNUNET_HashCode) == size)
199 { 199 {
200 const GNUNET_HashCode *h = data; 200 const struct GNUNET_HashCode *h = data;
201 201
202 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: Contents: %s\n", 202 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: Contents: %s\n",
203 GNUNET_h2s_full (h)); 203 GNUNET_h2s_full (h));
@@ -314,7 +314,7 @@ monitor_get_cb (void *cls,
314 uint32_t desired_replication_level, 314 uint32_t desired_replication_level,
315 unsigned int path_length, 315 unsigned int path_length,
316 const struct GNUNET_PeerIdentity *path, 316 const struct GNUNET_PeerIdentity *path,
317 const GNUNET_HashCode * key) 317 const struct GNUNET_HashCode * key)
318{ 318{
319 const char *s_key; 319 const char *s_key;
320 unsigned int i; 320 unsigned int i;
@@ -355,7 +355,7 @@ monitor_put_cb (void *cls,
355 unsigned int path_length, 355 unsigned int path_length,
356 const struct GNUNET_PeerIdentity *path, 356 const struct GNUNET_PeerIdentity *path,
357 struct GNUNET_TIME_Absolute exp, 357 struct GNUNET_TIME_Absolute exp,
358 const GNUNET_HashCode * key, 358 const struct GNUNET_HashCode * key,
359 const void *data, 359 const void *data,
360 size_t size) 360 size_t size)
361{ 361{
@@ -397,7 +397,7 @@ monitor_res_cb (void *cls,
397 const struct GNUNET_PeerIdentity *put_path, 397 const struct GNUNET_PeerIdentity *put_path,
398 unsigned int put_path_length, 398 unsigned int put_path_length,
399 struct GNUNET_TIME_Absolute exp, 399 struct GNUNET_TIME_Absolute exp,
400 const GNUNET_HashCode * key, 400 const struct GNUNET_HashCode * key,
401 const void *data, 401 const void *data,
402 size_t size) 402 size_t size)
403{ 403{