gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r28095 - gnunet/src/mesh
Date: Tue, 16 Jul 2013 15:17:02 +0200

Author: bartpolot
Date: 2013-07-16 15:17:02 +0200 (Tue, 16 Jul 2013)
New Revision: 28095

Modified:
   gnunet/src/mesh/test_mesh_small.c
Log:
-use new API

Modified: gnunet/src/mesh/test_mesh_small.c
===================================================================
--- gnunet/src/mesh/test_mesh_small.c   2013-07-16 12:56:54 UTC (rev 28094)
+++ gnunet/src/mesh/test_mesh_small.c   2013-07-16 13:17:02 UTC (rev 28095)
@@ -624,7 +624,7 @@
 static void
 do_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
-  int buf;
+  int nobuf;
   int rel;
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test_task\n");
@@ -639,10 +639,10 @@
   if (SPEED_NOBUF == test)
   {
     test = SPEED;
-    buf = GNUNET_NO;
+    nobuf = GNUNET_YES;
   }
   else
-    buf = GNUNET_YES;
+    nobuf = GNUNET_NO;
 
   if (SPEED_REL == test)
   {
@@ -651,7 +651,7 @@
   }
   else
     rel = GNUNET_NO;
-  t = GNUNET_MESH_tunnel_create (h1, NULL, p_id[1], 1, buf, rel);
+  t = GNUNET_MESH_tunnel_create (h1, NULL, p_id[1], 1, nobuf, rel);
 
   disconnect_task = GNUNET_SCHEDULER_add_delayed (SHORT_TIME,
                                                   &disconnect_mesh_peers,




reply via email to

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