diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-11-04 14:09:36 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-11-04 14:09:36 +0000 |
commit | 78039e51843ff76a4a19463bee15c249f0dba18d (patch) | |
tree | 2c525516393c608a51dda46d2c0f2bbdc855cb81 /src/mesh | |
parent | 83b19539f4d322b43683f5838b72e9ec2c8e6073 (diff) | |
download | gnunet-78039e51843ff76a4a19463bee15c249f0dba18d.tar.gz gnunet-78039e51843ff76a4a19463bee15c249f0dba18d.zip |
Additional fix for #1871
Diffstat (limited to 'src/mesh')
-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 | } |