diff options
Diffstat (limited to 'src/dht/gnunet-service-dht_clients.c')
-rw-r--r-- | src/dht/gnunet-service-dht_clients.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dht/gnunet-service-dht_clients.c b/src/dht/gnunet-service-dht_clients.c index 08b189a31..1a4e71314 100644 --- a/src/dht/gnunet-service-dht_clients.c +++ b/src/dht/gnunet-service-dht_clients.c | |||
@@ -858,10 +858,10 @@ GDS_CLIENTS_handle_reply (struct GNUNET_TIME_Absolute expiration, | |||
858 | reply->expiration = GNUNET_TIME_absolute_hton (expiration); | 858 | reply->expiration = GNUNET_TIME_absolute_hton (expiration); |
859 | reply->key = *key; | 859 | reply->key = *key; |
860 | paths = (struct GNUNET_PeerIdentity*) &reply[1]; | 860 | paths = (struct GNUNET_PeerIdentity*) &reply[1]; |
861 | memcpy (paths, get_path, | 861 | memcpy (paths, put_path, |
862 | sizeof (struct GNUNET_PeerIdentity) * get_path_length); | 862 | sizeof (struct GNUNET_PeerIdentity) * put_path_length); |
863 | memcpy (&paths[get_path_length], | 863 | memcpy (&paths[put_path_length], |
864 | put_path, sizeof (struct GNUNET_PeerIdentity) * put_path_length); | 864 | get_path, sizeof (struct GNUNET_PeerIdentity) * get_path_length); |
865 | memcpy (&paths[get_path_length + put_path_length], | 865 | memcpy (&paths[get_path_length + put_path_length], |
866 | data, | 866 | data, |
867 | data_size); | 867 | data_size); |