[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24457 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24457 - gnunet/src/mesh |
Date: |
Mon, 22 Oct 2012 16:14:26 +0200 |
Author: bartpolot
Date: 2012-10-22 16:14:26 +0200 (Mon, 22 Oct 2012)
New Revision: 24457
Modified:
gnunet/src/mesh/test_mesh_small.c
Log:
- debug backwards
Modified: gnunet/src/mesh/test_mesh_small.c
===================================================================
--- gnunet/src/mesh/test_mesh_small.c 2012-10-22 13:58:00 UTC (rev 24456)
+++ gnunet/src/mesh/test_mesh_small.c 2012-10-22 14:14:26 UTC (rev 24457)
@@ -476,10 +476,12 @@
if (SPEED == test && GNUNET_YES == initialized)
{
data_sent++;
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ " Sent packet %d\n", data_sent);
if (data_sent < TOTAL_PACKETS)
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- " Scheduling %d packet\n", data_sent);
+ " Scheduling packet %d\n", data_sent + 1);
GNUNET_SCHEDULER_add_now(&data_task, NULL);
}
}
@@ -525,7 +527,6 @@
{
case 1L:
GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Root client got a message!\n");
- GNUNET_log (GNUNET_ERROR_TYPE_INFO, " ok: %d\n", ok);
peers_responded++;
if (test == MULTICAST && peers_responded < 2)
return GNUNET_OK;
@@ -535,13 +536,13 @@
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Leaf client %li got a message.\n",
client);
- GNUNET_log (GNUNET_ERROR_TYPE_INFO, " ok: %d\n", ok);
client = 2L;
break;
default:
GNUNET_assert (0);
break;
}
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO, " ok: (%d/%d)\n", ok, ok_goal);
if (SPEED == test && GNUNET_YES == test_backwards)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24457 - gnunet/src/mesh,
gnunet <=