[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r28116 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r28116 - gnunet/src/mesh |
Date: |
Wed, 17 Jul 2013 15:19:11 +0200 |
Author: bartpolot
Date: 2013-07-17 15:19:11 +0200 (Wed, 17 Jul 2013)
New Revision: 28116
Modified:
gnunet/src/mesh/test_mesh_small.c
Log:
- cleanup
Modified: gnunet/src/mesh/test_mesh_small.c
===================================================================
--- gnunet/src/mesh/test_mesh_small.c 2013-07-17 12:54:59 UTC (rev 28115)
+++ gnunet/src/mesh/test_mesh_small.c 2013-07-17 13:19:11 UTC (rev 28116)
@@ -114,11 +114,6 @@
static int initialized;
/**
- * Peers that have responded
- */
-static int peers_responded;
-
-/**
* Number of payload packes sent
*/
static int data_sent;
@@ -425,13 +420,11 @@
{
case 0L:
GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Root client got a message!\n");
- peers_responded++;
break;
case 4L:
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Leaf client %li got a message.\n",
client);
- client = 4L;
break;
default:
GNUNET_assert (0);
@@ -461,7 +454,7 @@
}
}
- if (client == expected_target_client) // Normally 3 or 4
+ if (client == expected_target_client) // Normally 4
{
data_received++;
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
@@ -658,7 +651,6 @@
(void *) __LINE__);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Sending data initializer...\n");
- peers_responded = 0;
data_ack = 0;
data_received = 0;
data_sent = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r28116 - gnunet/src/mesh,
gnunet <=