diff options
Diffstat (limited to 'src/cadet/gnunet-service-cadet.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cadet/gnunet-service-cadet.c b/src/cadet/gnunet-service-cadet.c index dd693731f..8ccf4ae07 100644 --- a/src/cadet/gnunet-service-cadet.c +++ b/src/cadet/gnunet-service-cadet.c | |||
@@ -902,9 +902,9 @@ path_info_iterator (void *cls, | |||
902 | /* Don't copy first peer. First peer is always the local one. Last | 902 | /* Don't copy first peer. First peer is always the local one. Last |
903 | * peer is always the destination (leave as 0, EOL). | 903 | * peer is always the destination (leave as 0, EOL). |
904 | */ | 904 | */ |
905 | for (i = 0; i < off; i++) | 905 | for (i = 0; i <= off; i++) |
906 | id[i] = *GCP_get_id (GCPP_get_peer_at_offset (path, | 906 | id[i] = *GCP_get_id (GCPP_get_peer_at_offset (path, |
907 | i + 1)); | 907 | i)); |
908 | GNUNET_MQ_send (mq, | 908 | GNUNET_MQ_send (mq, |
909 | env); | 909 | env); |
910 | return GNUNET_YES; | 910 | return GNUNET_YES; |