gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r28621 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r28621 - gnunet/src/mesh
Date: Wed, 14 Aug 2013 15:30:42 +0200

Author: bartpolot
Date: 2013-08-14 15:30:42 +0200 (Wed, 14 Aug 2013)
New Revision: 28621

Modified:
   gnunet/src/mesh/gnunet-service-mesh-enc.c
   gnunet/src/mesh/gnunet-service-mesh.c
Log:
- fix scan defects


Modified: gnunet/src/mesh/gnunet-service-mesh-enc.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh-enc.c   2013-08-14 13:25:13 UTC (rev 
28620)
+++ gnunet/src/mesh/gnunet-service-mesh-enc.c   2013-08-14 13:30:42 UTC (rev 
28621)
@@ -4249,7 +4249,7 @@
 
   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 @@
 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 @@
                                                &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
   {

Modified: gnunet/src/mesh/gnunet-service-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh.c       2013-08-14 13:25:13 UTC (rev 
28620)
+++ gnunet/src/mesh/gnunet-service-mesh.c       2013-08-14 13:30:42 UTC (rev 
28621)
@@ -4896,7 +4896,6 @@
 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 @@
                                                &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
   {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]