diff options
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/gnunet-service-dht_neighbours.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c index 8611f2653..376ac5092 100644 --- a/src/dht/gnunet-service-dht_neighbours.c +++ b/src/dht/gnunet-service-dht_neighbours.c | |||
@@ -2083,7 +2083,7 @@ handle_dht_p2p_put (void *cls, | |||
2083 | failure_offset); | 2083 | failure_offset); |
2084 | GNUNET_assert (failure_offset <= putlen + 1); | 2084 | GNUNET_assert (failure_offset <= putlen + 1); |
2085 | bd.put_path = &pp[failure_offset]; | 2085 | bd.put_path = &pp[failure_offset]; |
2086 | bd.put_path_length = putlen - failure_offset; | 2086 | bd.put_path_length = (putlen + 1) - failure_offset; |
2087 | bd.ro |= GNUNET_DHT_RO_TRUNCATED; | 2087 | bd.ro |= GNUNET_DHT_RO_TRUNCATED; |
2088 | bd.trunc_peer = pp[failure_offset - 1].pred; | 2088 | bd.trunc_peer = pp[failure_offset - 1].pred; |
2089 | } | 2089 | } |