aboutsummaryrefslogtreecommitdiff
path: root/src/dht/test_dht_topo.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-12 19:07:40 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-12 19:07:40 +0000
commit6c471eeb15e27f8226492b4860a3c2acb94c5f25 (patch)
treea3a9dcba12ee5356c03056c10b7aba5367b2ef34 /src/dht/test_dht_topo.c
parent16bcbbea7133fd2265d46bd2ae1dc70e8c9ba96f (diff)
downloadgnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.tar.gz
gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.zip
-consistently use struct GNUNET_HashCode
Diffstat (limited to 'src/dht/test_dht_topo.c')
-rw-r--r--src/dht/test_dht_topo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dht/test_dht_topo.c b/src/dht/test_dht_topo.c
index 64918fe26..1dd867f2b 100644
--- a/src/dht/test_dht_topo.c
+++ b/src/dht/test_dht_topo.c
@@ -190,7 +190,7 @@ disconnect_peers (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
190 190
191static void 191static void
192dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp, 192dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
193 const GNUNET_HashCode * key, 193 const struct GNUNET_HashCode * key,
194 const struct GNUNET_PeerIdentity *get_path, 194 const struct GNUNET_PeerIdentity *get_path,
195 unsigned int get_path_length, 195 unsigned int get_path_length,
196 const struct GNUNET_PeerIdentity *put_path, 196 const struct GNUNET_PeerIdentity *put_path,
@@ -199,9 +199,9 @@ dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
199{ 199{
200 int i; 200 int i;
201 201
202 if (sizeof (GNUNET_HashCode) == size) 202 if (sizeof (struct GNUNET_HashCode) == size)
203 { 203 {
204 const GNUNET_HashCode *h = data; 204 const struct GNUNET_HashCode *h = data;
205 205
206 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " Contents: %s\n", 206 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " Contents: %s\n",
207 GNUNET_h2s_full (h)); 207 GNUNET_h2s_full (h));