diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-10-21 13:52:40 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-10-21 13:52:40 +0000 |
commit | 7cf34aed85b236da3d76dcba438a7082876985a4 (patch) | |
tree | 76853da7656a39f3f3f8c9a06fffac31990eb02d /src/mesh | |
parent | 52bf657944215306b0753eede6285d4296baa884 (diff) |
Fixed compile issue, changed logging & dht_get_id working
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index d5a457fbc..94196be84 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -3011,12 +3011,14 @@ dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp, struct GNUNET_PeerIdentity pi; int i; + GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, + "MESH: Got results from DHT!\n"); GNUNET_PEER_resolve (path_info->peer->id, &pi); GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, - "MESH: Got results from DHT for %s\n", + "MESH: for %s\n", GNUNET_h2s_full(&pi.hashPubKey)); - GNUNET_DHT_get_stop(path_info->peer->dhtget); - path_info->peer->dhtget = NULL; +// GNUNET_DHT_get_stop(path_info->peer->dhtget); +// path_info->peer->dhtget = NULL; p = path_build_from_dht (get_path, get_path_length, put_path, put_path_length); @@ -3058,7 +3060,6 @@ dht_get_type_handler (void *cls, struct GNUNET_TIME_Absolute exp, struct GNUNET_PeerIdentity id; struct MeshTunnel *t = cls; struct MeshPeerInfo *peer_info; - struct MeshPathInfo *path_info; struct MeshPeerPath *p; int i; |