summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-10-26 12:51:13 +0000
committerBart Polot <bart@net.in.tum.de>2011-10-26 12:51:13 +0000
commita540dba8d2abd13ba6552b0d6081c4c11e95eb31 (patch)
tree315d97ad26bbafe300ebc5225314245cb07f37f8 /src
parent9015eb2c40ca51f1adfe24d17f169ce19cfab4c6 (diff)
Fixed bug to keep looking though list of clients on disconnect
Diffstat (limited to 'src')
-rw-r--r--src/mesh/gnunet-service-mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index 3e9b7085a..1ec2371dc 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -3229,8 +3229,8 @@ handle_local_client_disconnect (void *cls, struct GNUNET_SERVER_Client *client)
}
if (NULL != c->types)
GNUNET_CONTAINER_multihashmap_destroy (c->types);
- GNUNET_CONTAINER_DLL_remove (clients, clients_tail, c);
next = c->next;
+ GNUNET_CONTAINER_DLL_remove (clients, clients_tail, c);
GNUNET_free (c);
c = next;
}