diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-10-26 12:51:13 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-10-26 12:51:13 +0000 |
commit | a540dba8d2abd13ba6552b0d6081c4c11e95eb31 (patch) | |
tree | 315d97ad26bbafe300ebc5225314245cb07f37f8 /src/mesh | |
parent | 9015eb2c40ca51f1adfe24d17f169ce19cfab4c6 (diff) |
Fixed bug to keep looking though list of clients on disconnect
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 2 |
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; } |