gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 6aea3c687f81273fa6f0769485f46ee36b8136bb
parent dbed9a4af8a20402f26d70c4bb8cac0aca5cb905
Author: Bart Polot <bart@net.in.tum.de>
Date:   Wed, 14 Aug 2013 13:30:42 +0000

- fix scan defects


Diffstat:
Msrc/mesh/gnunet-service-mesh-enc.c | 5+----
Msrc/mesh/gnunet-service-mesh.c | 3---
2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/mesh/gnunet-service-mesh-enc.c b/src/mesh/gnunet-service-mesh-enc.c @@ -4249,7 +4249,7 @@ queue_destroy (struct MeshPeerQueue *queue, int clear_cls) if (GNUNET_YES == clear_cls) { - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " type %s\n", + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " queue destroy type %s\n", GNUNET_MESH_DEBUG_M2S (queue->type)); switch (queue->type) { @@ -5655,7 +5655,6 @@ static void handle_local_client_disconnect (void *cls, struct GNUNET_SERVER_Client *client) { struct MeshClient *c; - struct MeshClient *next; GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "client disconnected: %p\n", client); if (client == NULL) @@ -5691,12 +5690,10 @@ handle_local_client_disconnect (void *cls, struct GNUNET_SERVER_Client *client) &client_release_ports, c); GNUNET_CONTAINER_multihashmap32_destroy (c->ports); } - next = c->next; GNUNET_CONTAINER_DLL_remove (clients_head, clients_tail, c); GNUNET_STATISTICS_update (stats, "# clients", -1, GNUNET_NO); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " client free (%p)\n", c); GNUNET_free (c); - c = next; } else { diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c @@ -4896,7 +4896,6 @@ static void handle_local_client_disconnect (void *cls, struct GNUNET_SERVER_Client *client) { struct MeshClient *c; - struct MeshClient *next; GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "client disconnected: %p\n", client); if (client == NULL) @@ -4932,12 +4931,10 @@ handle_local_client_disconnect (void *cls, struct GNUNET_SERVER_Client *client) &client_release_ports, c); GNUNET_CONTAINER_multihashmap32_destroy (c->ports); } - next = c->next; GNUNET_CONTAINER_DLL_remove (clients_head, clients_tail, c); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " client free (%p)\n", c); GNUNET_free (c); GNUNET_STATISTICS_update (stats, "# clients", -1, GNUNET_NO); - c = next; } else {