gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r31397 - gnunet/src/mesh
Date: Mon, 16 Dec 2013 10:29:22 +0100

Author: bartpolot
Date: 2013-12-16 10:29:21 +0100 (Mon, 16 Dec 2013)
New Revision: 31397

Modified:
   gnunet/src/mesh/gnunet-service-mesh_connection.c
Log:
- hunting 3214


Modified: gnunet/src/mesh/gnunet-service-mesh_connection.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_connection.c    2013-12-16 09:25:18 UTC 
(rev 31396)
+++ gnunet/src/mesh/gnunet-service-mesh_connection.c    2013-12-16 09:29:21 UTC 
(rev 31397)
@@ -2239,7 +2239,10 @@
 GMC_destroy (struct MeshConnection *c)
 {
   if (NULL == c)
+  {
+    GNUNET_break (0);
     return;
+  }
 
   if (2 == c->destroy) /* cancel queues -> GMP_queue_cancel -> q_destroy -> */
     return;            /* -> message_sent -> GMC_destroy. Don't loop. */
@@ -2277,6 +2280,8 @@
   GNUNET_STATISTICS_update (stats, "# connections", -1, GNUNET_NO);
   if (NULL != c->t)
     GMT_remove_connection (c->t, c);
+  else
+    GNUNET_break (0);
 
   if (GNUNET_NO == GMC_is_origin (c, GNUNET_YES))
     path_destroy (c->path);




reply via email to

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