summaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_dht.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2015-07-31 06:58:55 +0000
committerBart Polot <bart@net.in.tum.de>2015-07-31 06:58:55 +0000
commitc14ff64b5c9ca4cfc5004e30622499cc782694c5 (patch)
tree85f5f098c4054fccffcf56159e3543cf1d252c48 /src/cadet/gnunet-service-cadet_dht.c
parent5eb722ace41a4cccf9d65bf408cfd3c45756cf2f (diff)
- refactor GCP_get_peer, fix get peer info
Diffstat (limited to 'src/cadet/gnunet-service-cadet_dht.c')
-rw-r--r--src/cadet/gnunet-service-cadet_dht.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cadet/gnunet-service-cadet_dht.c b/src/cadet/gnunet-service-cadet_dht.c
index 81051a700..cdc1f5a7f 100644
--- a/src/cadet/gnunet-service-cadet_dht.c
+++ b/src/cadet/gnunet-service-cadet_dht.c
@@ -187,7 +187,7 @@ dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
s = path_2s (p);
LOG (GNUNET_ERROR_TYPE_INFO, "Got path from DHT: %s\n", s);
GNUNET_free_non_null (s);
- peer = GCP_get_short (p->peers[p->length - 1]);
+ peer = GCP_get_short (p->peers[p->length - 1], GNUNET_YES);
LOG (GNUNET_ERROR_TYPE_DEBUG, "Got HELLO for %s\n", GCP_2s (peer));
h->callback (h->cls, p);
path_destroy (p);