gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r19196 - gnunet/src/mesh
Date: Tue, 17 Jan 2012 16:36:43 +0100

Author: bartpolot
Date: 2012-01-17 16:36:43 +0100 (Tue, 17 Jan 2012)
New Revision: 19196

Modified:
   gnunet/src/mesh/mesh_api.c
Log:
Fixed queue bug

Modified: gnunet/src/mesh/mesh_api.c
===================================================================
--- gnunet/src/mesh/mesh_api.c  2012-01-17 15:23:46 UTC (rev 19195)
+++ gnunet/src/mesh/mesh_api.c  2012-01-17 15:36:43 UTC (rev 19196)
@@ -1123,6 +1123,11 @@
     }
     if (th->timeout_task != GNUNET_SCHEDULER_NO_TASK)
       GNUNET_SCHEDULER_cancel (th->timeout_task);
+    if (NULL != th->tunnel)
+    {
+      th->tunnel->mesh->npackets--;
+      th->tunnel->npackets--;
+    }
     GNUNET_CONTAINER_DLL_remove (h->th_head, h->th_tail, th);
     GNUNET_free (th);
     cbuf += psize;




reply via email to

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