gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r30969 - gnunet/src/mesh
Date: Fri, 29 Nov 2013 12:59:08 +0100

Author: bartpolot
Date: 2013-11-29 12:59:08 +0100 (Fri, 29 Nov 2013)
New Revision: 30969

Modified:
   gnunet/src/mesh/test_mesh_small.c
Log:
- process channel destroy notifications properly


Modified: gnunet/src/mesh/test_mesh_small.c
===================================================================
--- gnunet/src/mesh/test_mesh_small.c   2013-11-29 11:28:29 UTC (rev 30968)
+++ gnunet/src/mesh/test_mesh_small.c   2013-11-29 11:59:08 UTC (rev 30969)
@@ -589,11 +589,16 @@
   if (4L == i)
   {
     ok++;
+    GNUNET_break (channel == incoming_ch);
     incoming_ch = NULL;
   }
-  else if (0L == i && P2P_SIGNAL == test)
+  else if (0L == i)
   {
-    ok ++;
+    if (P2P_SIGNAL == test)
+    {
+      ok ++;
+    }
+    GNUNET_break (channel == ch);
     ch = NULL;
   }
   else




reply via email to

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