aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-dht-monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dht/gnunet-dht-monitor.c')
-rw-r--r--src/dht/gnunet-dht-monitor.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dht/gnunet-dht-monitor.c b/src/dht/gnunet-dht-monitor.c
index 088874a53..d8f25e58b 100644
--- a/src/dht/gnunet-dht-monitor.c
+++ b/src/dht/gnunet-dht-monitor.c
@@ -131,7 +131,7 @@ get_callback (void *cls,
131 uint32_t desired_replication_level, 131 uint32_t desired_replication_level,
132 unsigned int path_length, 132 unsigned int path_length,
133 const struct GNUNET_PeerIdentity *path, 133 const struct GNUNET_PeerIdentity *path,
134 const GNUNET_HashCode * key) 134 const struct GNUNET_HashCode * key)
135{ 135{
136 FPRINTF (stdout, "Result %d, operation: %s, type %d\n Key: %s", 136 FPRINTF (stdout, "Result %d, operation: %s, type %d\n Key: %s",
137 result_count, 137 result_count,
@@ -163,7 +163,7 @@ get_resp_callback (void *cls,
163 const struct GNUNET_PeerIdentity *put_path, 163 const struct GNUNET_PeerIdentity *put_path,
164 unsigned int put_path_length, 164 unsigned int put_path_length,
165 struct GNUNET_TIME_Absolute exp, 165 struct GNUNET_TIME_Absolute exp,
166 const GNUNET_HashCode * key, 166 const struct GNUNET_HashCode * key,
167 const void *data, 167 const void *data,
168 size_t size) 168 size_t size)
169{ 169{
@@ -201,7 +201,7 @@ put_callback (void *cls,
201 unsigned int path_length, 201 unsigned int path_length,
202 const struct GNUNET_PeerIdentity *path, 202 const struct GNUNET_PeerIdentity *path,
203 struct GNUNET_TIME_Absolute exp, 203 struct GNUNET_TIME_Absolute exp,
204 const GNUNET_HashCode * key, 204 const struct GNUNET_HashCode * key,
205 const void *data, 205 const void *data,
206 size_t size) 206 size_t size)
207{ 207{
@@ -228,7 +228,7 @@ run (void *cls, char *const *args, const char *cfgfile,
228 const struct GNUNET_CONFIGURATION_Handle *c) 228 const struct GNUNET_CONFIGURATION_Handle *c)
229{ 229{
230 struct GNUNET_TIME_Relative timeout; 230 struct GNUNET_TIME_Relative timeout;
231 GNUNET_HashCode *key; 231 struct GNUNET_HashCode *key;
232 232
233 cfg = c; 233 cfg = c;
234 234
@@ -248,7 +248,7 @@ run (void *cls, char *const *args, const char *cfgfile,
248 block_type = GNUNET_BLOCK_TYPE_TEST; 248 block_type = GNUNET_BLOCK_TYPE_TEST;
249 249
250 if (query_key != NULL) { 250 if (query_key != NULL) {
251 key = GNUNET_malloc (sizeof(GNUNET_HashCode)); 251 key = GNUNET_malloc (sizeof(struct GNUNET_HashCode));
252 GNUNET_CRYPTO_hash (query_key, strlen (query_key), key); 252 GNUNET_CRYPTO_hash (query_key, strlen (query_key), key);
253 } 253 }
254 else 254 else