diff options
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index a5113e52b..312ff5a8a 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -1518,7 +1518,7 @@ peer_info_add_path (struct MeshPeerInfo *peer_info, struct MeshPeerPath *path, | |||
1518 | if (path->peers[l] == myid) | 1518 | if (path->peers[l] == myid) |
1519 | { | 1519 | { |
1520 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "MESH: shortening path by %u\n", l); | 1520 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "MESH: shortening path by %u\n", l); |
1521 | for (l2 = 0; l2 < path->length - l - 1; l2++) | 1521 | for (l2 = 0; l2 < path->length - l; l2++) |
1522 | { | 1522 | { |
1523 | path->peers[l2] = path->peers[l + l2]; | 1523 | path->peers[l2] = path->peers[l + l2]; |
1524 | } | 1524 | } |