aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesh/gnunet-service-mesh_connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c
index 02f703007..e859230ec 100644
--- a/src/mesh/gnunet-service-mesh_connection.c
+++ b/src/mesh/gnunet-service-mesh_connection.c
@@ -1443,8 +1443,8 @@ build_path_from_peer_ids (struct GNUNET_PeerIdentity *peers,
1443 if (path->peers[j] == shortid) 1443 if (path->peers[j] == shortid)
1444 { 1444 {
1445 LOG (GNUNET_ERROR_TYPE_DEBUG, " already exists at pos %u\n", j); 1445 LOG (GNUNET_ERROR_TYPE_DEBUG, " already exists at pos %u\n", j);
1446 offset += i - j; 1446 offset = i - j;
1447 LOG (GNUNET_ERROR_TYPE_DEBUG, " offset now\n", offset); 1447 LOG (GNUNET_ERROR_TYPE_DEBUG, " offset now %u\n", offset);
1448 GNUNET_PEER_change_rc (shortid, -1); 1448 GNUNET_PEER_change_rc (shortid, -1);
1449 } 1449 }
1450 } 1450 }