diff options
author | Supriti Singh <supritisingh08@gmail.com> | 2014-02-17 15:57:11 +0000 |
---|---|---|
committer | Supriti Singh <supritisingh08@gmail.com> | 2014-02-17 15:57:11 +0000 |
commit | 85755103143297d41ccf63c68492822e9b951495 (patch) | |
tree | 2e670cf704d6d4c377406e0551135e1f7af4324f /src/dht/gnunet-service-dht_neighbours.c | |
parent | 1d6824b116658d2490aaa1a5d1662e3857e86d3f (diff) |
1.Modified struct PeerTrailSetupMessage and PeerTrailSetupResultMessage.
2.Handling trail setup result message.
Diffstat (limited to 'src/dht/gnunet-service-dht_neighbours.c')
-rw-r--r-- | src/dht/gnunet-service-dht_neighbours.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c index 0ee29ec491..0cf46f5623 100644 --- a/src/dht/gnunet-service-dht_neighbours.c +++ b/src/dht/gnunet-service-dht_neighbours.c @@ -645,7 +645,7 @@ handle_core_connect (void *cls, const struct GNUNET_PeerIdentity *peer) struct PeerInfo *ret; struct GNUNET_HashCode phash; int peer_bucket; - + /* Check for connect to self message */ if (0 == memcmp (&my_identity, peer, sizeof (struct GNUNET_PeerIdentity))) return; @@ -784,7 +784,7 @@ core_transmit_notify (void *cls, size_t size, void *buf) struct P2PPendingMessage *pending; size_t off; size_t msize; - + peer->th = NULL; while ((NULL != (pending = peer->head)) && (0 == GNUNET_TIME_absolute_get_remaining (pending->timeout).rel_value_us)) |