[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r31948 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r31948 - gnunet/src/mesh |
Date: |
Fri, 17 Jan 2014 12:57:21 +0100 |
Author: bartpolot
Date: 2014-01-17 12:57:20 +0100 (Fri, 17 Jan 2014)
New Revision: 31948
Modified:
gnunet/src/mesh/gnunet-service-mesh_tunnel.c
Log:
- add warning if check fails
Modified: gnunet/src/mesh/gnunet-service-mesh_tunnel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_tunnel.c 2014-01-17 09:13:48 UTC
(rev 31947)
+++ gnunet/src/mesh/gnunet-service-mesh_tunnel.c 2014-01-17 11:57:20 UTC
(rev 31948)
@@ -2020,8 +2020,14 @@
{
if (GNUNET_SCHEDULER_NO_TASK != t->destroy_task)
{
- LOG (GNUNET_ERROR_TYPE_DEBUG, "Tunnel %s is already scheduled for
destruction\n",
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "Tunnel %s is already scheduled for destruction\n",
GMT_2s (t));
+ GNUNET_break (0);
+ /* should never happen, tunnel can only become empty once, and the
+ * task identifier should be NO_TASK (cleaned when the tunnel was created
+ * or became un-empty)
+ */
return;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r31948 - gnunet/src/mesh,
gnunet <=