aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/gnunet-service-mesh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index c7cc171d4..3e9b7085a 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -1299,7 +1299,8 @@ peer_info_destroy (struct MeshPeerInfo *pi)
1299 GNUNET_PEER_resolve (pi->id, &id); 1299 GNUNET_PEER_resolve (pi->id, &id);
1300 GNUNET_PEER_change_rc (pi->id, -1); 1300 GNUNET_PEER_change_rc (pi->id, -1);
1301 1301
1302 if (GNUNET_YES != GNUNET_CONTAINER_multihashmap_remove (peers, &id.hashPubKey, pi)) 1302 if (GNUNET_YES !=
1303 GNUNET_CONTAINER_multihashmap_remove (peers,&id.hashPubKey, pi))
1303 { 1304 {
1304 GNUNET_break (0); 1305 GNUNET_break (0);
1305 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 1306 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
@@ -3121,7 +3122,7 @@ dht_get_id_handler (void *cls, struct GNUNET_TIME_Absolute exp,
3121 tunnel_add_peer (path_info->peer->tunnels[i], path_info->peer); 3122 tunnel_add_peer (path_info->peer->tunnels[i], path_info->peer);
3122 peer_info_connect(path_info->peer, path_info->t); 3123 peer_info_connect(path_info->peer, path_info->t);
3123 } 3124 }
3124 GNUNET_free (path_info); 3125// GNUNET_free (path_info);
3125 3126
3126 return; 3127 return;
3127} 3128}