diff options
author | Andrew Cann <shum@canndrew.org> | 2014-05-11 10:51:01 +0000 |
---|---|---|
committer | Andrew Cann <shum@canndrew.org> | 2014-05-11 10:51:01 +0000 |
commit | 7cd36aaa575cf108442a402eeff0e1b292c0e14a (patch) | |
tree | efc5b7b201c599557fecac084bcdcf00fc787af9 /src/dht | |
parent | 040a0746e6f69e65a8d032374b45144e5c28d8de (diff) | |
download | gnunet-7cd36aaa575cf108442a402eeff0e1b292c0e14a.tar.gz gnunet-7cd36aaa575cf108442a402eeff0e1b292c0e14a.zip |
Minor bigfixes.
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/gnunet-service-xdht_neighbours.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/gnunet-service-xdht_neighbours.c b/src/dht/gnunet-service-xdht_neighbours.c index 2338407f3..cdf746e0b 100644 --- a/src/dht/gnunet-service-xdht_neighbours.c +++ b/src/dht/gnunet-service-xdht_neighbours.c | |||
@@ -2468,7 +2468,7 @@ GDS_NEIGHBOURS_send_get (const struct GNUNET_HashCode *key, | |||
2468 | struct GNUNET_PeerIdentity curr_src; | 2468 | struct GNUNET_PeerIdentity curr_src; |
2469 | memcpy (&curr_dest, ¤t_destination, sizeof (struct GNUNET_PeerIdentity)); | 2469 | memcpy (&curr_dest, ¤t_destination, sizeof (struct GNUNET_PeerIdentity)); |
2470 | memcpy (&curr_src, ¤t_source, sizeof (struct GNUNET_PeerIdentity)); | 2470 | memcpy (&curr_src, ¤t_source, sizeof (struct GNUNET_PeerIdentity)); |
2471 | memcpy (&key_value, key, sizeof (struct GNUNET_PeerIdentity)); | 2471 | memcpy (&key_value, key, sizeof (uint64_t)); |
2472 | next_hop = find_successor (key_value, &curr_dest, &curr_src, NULL); | 2472 | next_hop = find_successor (key_value, &curr_dest, &curr_src, NULL); |
2473 | /* FIXME: Again I am copying back value of current_destination, current_source, | 2473 | /* FIXME: Again I am copying back value of current_destination, current_source, |
2474 | Think of a better solution. */ | 2474 | Think of a better solution. */ |