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) | |
download | gnunet-7cf34aed85b236da3d76dcba438a7082876985a4.tar.gz gnunet-7cf34aed85b236da3d76dcba438a7082876985a4.zip |
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, | |||
3011 | struct GNUNET_PeerIdentity pi; | 3011 | struct GNUNET_PeerIdentity pi; |
3012 | int i; | 3012 | int i; |
3013 | 3013 | ||
3014 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, | ||
3015 | "MESH: Got results from DHT!\n"); | ||
3014 | GNUNET_PEER_resolve (path_info->peer->id, &pi); | 3016 | GNUNET_PEER_resolve (path_info->peer->id, &pi); |
3015 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, | 3017 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, |
3016 | "MESH: Got results from DHT for %s\n", | 3018 | "MESH: for %s\n", |
3017 | GNUNET_h2s_full(&pi.hashPubKey)); | 3019 | GNUNET_h2s_full(&pi.hashPubKey)); |
3018 | GNUNET_DHT_get_stop(path_info->peer->dhtget); | 3020 | // GNUNET_DHT_get_stop(path_info->peer->dhtget); |
3019 | path_info->peer->dhtget = NULL; | 3021 | // path_info->peer->dhtget = NULL; |
3020 | 3022 | ||
3021 | p = path_build_from_dht (get_path, get_path_length, | 3023 | p = path_build_from_dht (get_path, get_path_length, |
3022 | put_path, put_path_length); | 3024 | put_path, put_path_length); |
@@ -3058,7 +3060,6 @@ dht_get_type_handler (void *cls, struct GNUNET_TIME_Absolute exp, | |||
3058 | struct GNUNET_PeerIdentity id; | 3060 | struct GNUNET_PeerIdentity id; |
3059 | struct MeshTunnel *t = cls; | 3061 | struct MeshTunnel *t = cls; |
3060 | struct MeshPeerInfo *peer_info; | 3062 | struct MeshPeerInfo *peer_info; |
3061 | struct MeshPathInfo *path_info; | ||
3062 | struct MeshPeerPath *p; | 3063 | struct MeshPeerPath *p; |
3063 | int i; | 3064 | int i; |
3064 | 3065 | ||