- begin work on enhanced multipart receiving
[oweals/gnunet.git] / src / mesh / gnunet-service-mesh_peer.c
index a94c66ea77c519ae680d86a937caeb0d4c9e160c..aa9f52fe618ae72ecf157101d7b8934da4da82f8 100644 (file)
@@ -1324,8 +1324,10 @@ GMP_connect (struct MeshPeer *peer)
          * path.
          *
          * Re-running the DHT GET should give core time to callback.
+         *
+         * GMT_use_path -> GMC_new -> register_neighbors takes care of
+         * updating statistics about this issue.
          */
-        GNUNET_break (0);
         rerun_search = GNUNET_YES;
       }
       else
@@ -1615,6 +1617,7 @@ GMP_remove_path (struct MeshPeer *peer, struct MeshPeerPath *path)
     if (0 == memcmp (path->peers, iter->peers,
                      sizeof (GNUNET_PEER_Id) * path->length))
     {
+      GNUNET_CONTAINER_DLL_remove (peer->path_head, peer->path_tail, iter);
       path_destroy (iter);
       if (path == iter)
         return;