gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r27443 - gnunet/src/mesh
Date: Thu, 13 Jun 2013 19:44:29 +0200

Author: bartpolot
Date: 2013-06-13 19:44:29 +0200 (Thu, 13 Jun 2013)
New Revision: 27443

Modified:
   gnunet/src/mesh/test_mesh2_small.c
Log:
- use explicit ACK in small testcase, remove multicast leftover, fix

Modified: gnunet/src/mesh/test_mesh2_small.c
===================================================================
--- gnunet/src/mesh/test_mesh2_small.c  2013-06-13 17:38:31 UTC (rev 27442)
+++ gnunet/src/mesh/test_mesh2_small.c  2013-06-13 17:44:29 UTC (rev 27443)
@@ -417,6 +417,8 @@
 
   ok++;
 
+  GNUNET_MESH_receive_done (tunnel);
+
   if ((ok % 20) == 0)
   {
     if (GNUNET_SCHEDULER_NO_TASK != disconnect_task)
@@ -434,7 +436,6 @@
     GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Root client got a message!\n");
     peers_responded++;
     break;
-  case 3L:
   case 4L:
     GNUNET_log (GNUNET_ERROR_TYPE_INFO,
                 "Leaf client %li got a message.\n",
@@ -656,7 +657,6 @@
     test = SPEED;
   }
 
-  GNUNET_SCHEDULER_cancel (disconnect_task);
   disconnect_task =
       GNUNET_SCHEDULER_add_delayed (SHORT_TIME, &disconnect_mesh_peers,
                                     (void *) __LINE__);
@@ -667,8 +667,8 @@
   data_received = 0;
   data_sent = 0;
   GNUNET_MESH_notify_transmit_ready (t, GNUNET_NO,
-                                      GNUNET_TIME_UNIT_FOREVER_REL, 
-                                      size_payload, &tmt_rdy, (void *) 1L);
+                                     GNUNET_TIME_UNIT_FOREVER_REL, 
+                                     size_payload, &tmt_rdy, (void *) 1L);
 }
 
 /**




reply via email to

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