From: Bart Polot Date: Wed, 26 Oct 2011 12:51:13 +0000 (+0000) Subject: Fixed bug to keep looking though list of clients on disconnect X-Git-Tag: initial-import-from-subversion-38251~16215 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a540dba8d2abd13ba6552b0d6081c4c11e95eb31;p=oweals%2Fgnunet.git Fixed bug to keep looking though list of clients on disconnect --- 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; }