[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23292 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23292 - gnunet/src/mesh |
Date: |
Sat, 18 Aug 2012 02:47:58 +0200 |
Author: bartpolot
Date: 2012-08-18 02:47:58 +0200 (Sat, 18 Aug 2012)
New Revision: 23292
Modified:
gnunet/src/mesh/gnunet-service-mesh.c
gnunet/src/mesh/test_mesh_local_traffic.c
Log:
- more debug
Modified: gnunet/src/mesh/gnunet-service-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh.c 2012-08-18 00:47:19 UTC (rev
23291)
+++ gnunet/src/mesh/gnunet-service-mesh.c 2012-08-18 00:47:58 UTC (rev
23292)
@@ -6049,7 +6049,7 @@
GNUNET_SERVER_receive_done (client, GNUNET_SYSERR);
return;
}
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " by client %u\n", c->id);
+
tunnel_msg = (struct GNUNET_MESH_TunnelMessage *) message;
/* Retrieve tunnel */
Modified: gnunet/src/mesh/test_mesh_local_traffic.c
===================================================================
--- gnunet/src/mesh/test_mesh_local_traffic.c 2012-08-18 00:47:19 UTC (rev
23291)
+++ gnunet/src/mesh/test_mesh_local_traffic.c 2012-08-18 00:47:58 UTC (rev
23292)
@@ -240,17 +240,23 @@
started = GNUNET_YES;
start_time = GNUNET_TIME_absolute_get();
if (FWD != test) // Send leaf -> root
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " sending first BCK data\n");
GNUNET_MESH_notify_transmit_ready (t_bck, GNUNET_NO,
GNUNET_TIME_UNIT_FOREVER_REL,
NULL,
sizeof (struct test_traffic_message),
&tmt_rdy, &two);
+ }
if (BCK != test) // Send root -> leaf
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " sending first FWD data\n");
GNUNET_MESH_notify_transmit_ready (t_fwd, GNUNET_NO,
GNUNET_TIME_UNIT_FOREVER_REL,
&peer_id,
sizeof (struct test_traffic_message),
&tmt_rdy, &one);
+ }
return GNUNET_OK;
}
@@ -270,7 +276,7 @@
}
msg = (struct test_traffic_message *) message;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Got data packet # %u [%u]\n",
- ntohl (msg->data), got + 1);
+ ntohl (msg->data), *got + 1);
(*got)++;
if (target == *got)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23292 - gnunet/src/mesh,
gnunet <=