aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-09-22 17:28:41 +0000
committerBart Polot <bart@net.in.tum.de>2012-09-22 17:28:41 +0000
commit97af2e18b39220b23e5ef725914206eedd64cdbf (patch)
tree923d4f5e5d448e21fdf5747ee02d7741fb366f9c /src
parentff168717f2527fa5b447f13e4bb19b2a40b1ca26 (diff)
downloadgnunet-97af2e18b39220b23e5ef725914206eedd64cdbf.tar.gz
gnunet-97af2e18b39220b23e5ef725914206eedd64cdbf.zip
- Fix compilation errors
Diffstat (limited to 'src')
-rw-r--r--src/mesh/gnunet-service-mesh.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index b273d1c00..e6621a6c6 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -4340,8 +4340,10 @@ tunnel_delete_peer (struct MeshTunnel *t, GNUNET_PEER_Id peer)
4340 * @param cls closure (client that is disconnecting) 4340 * @param cls closure (client that is disconnecting)
4341 * @param key the hash of the local tunnel id (used to access the hashmap) 4341 * @param key the hash of the local tunnel id (used to access the hashmap)
4342 * @param value the value stored at the key (tunnel to destroy) 4342 * @param value the value stored at the key (tunnel to destroy)
4343 *
4344 * @return GNUNET_OK, keep iterating.
4343 */ 4345 */
4344static void 4346static int
4345tunnel_destroy_iterator (void *cls, const struct GNUNET_HashCode * key, void *value) 4347tunnel_destroy_iterator (void *cls, const struct GNUNET_HashCode * key, void *value)
4346{ 4348{
4347 struct MeshTunnel *t = value; 4349 struct MeshTunnel *t = value;
@@ -4359,6 +4361,8 @@ tunnel_destroy_iterator (void *cls, const struct GNUNET_HashCode * key, void *va
4359 tunnel_send_destroy(t); 4361 tunnel_send_destroy(t);
4360 t->owner = NULL; 4362 t->owner = NULL;
4361 t->destroy = GNUNET_YES; 4363 t->destroy = GNUNET_YES;
4364
4365 return GNUNET_OK;
4362} 4366}
4363 4367
4364 4368