gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r36306 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r36306 - gnunet/src/cadet
Date: Thu, 3 Sep 2015 20:04:07 +0200

Author: bartpolot
Date: 2015-09-03 20:04:07 +0200 (Thu, 03 Sep 2015)
New Revision: 36306

Modified:
   gnunet/src/cadet/gnunet-service-cadet_local.c
Log:
- unregister from client on destroy

Modified: gnunet/src/cadet/gnunet-service-cadet_local.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_local.c       2015-09-03 18:04:06 UTC 
(rev 36305)
+++ gnunet/src/cadet/gnunet-service-cadet_local.c       2015-09-03 18:04:07 UTC 
(rev 36306)
@@ -226,6 +226,7 @@
 
   GNUNET_CONTAINER_DLL_remove (clients_head, clients_tail, c);
   GNUNET_STATISTICS_update (stats, "# clients", -1, GNUNET_NO);
+  GNUNET_SERVER_client_set_user_context (c->handle, NULL);
   GNUNET_free (c);
 }
 
@@ -304,7 +305,7 @@
   }
   else
   {
-    LOG (GNUNET_ERROR_TYPE_WARNING, " disconnecting client's context NULL\n");
+    LOG (GNUNET_ERROR_TYPE_DEBUG, " disconnecting client's context NULL\n");
   }
   return;
 }




reply via email to

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