From 7cded841d917561ea812f858d7dabd11979f0202 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 17 Oct 2013 14:43:07 +0000 Subject: [PATCH] - debug --- src/mesh/gnunet-service-mesh_tunnel.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c index 6a6a43943..89c9a9db1 100644 --- a/src/mesh/gnunet-service-mesh_tunnel.c +++ b/src/mesh/gnunet-service-mesh_tunnel.c @@ -600,11 +600,12 @@ GMT_send_queued_data (struct MeshTunnel3 *t, int fwd) LOG (GNUNET_ERROR_TYPE_DEBUG, "GMT_send_queued_data on tunnel %s\n", - GMP_2s (t->peer)); + GMT_2s (t)); room = GMT_get_buffer (t, fwd); LOG (GNUNET_ERROR_TYPE_DEBUG, " buffer space: %u\n", room); for (tq = t->tq_head; NULL != tq && room > 0; tq = next) { + LOG (GNUNET_ERROR_TYPE_DEBUG, " data on channel %s\n", GMCH_2s (tq->ch)); next = tq->next; room--; GNUNET_CONTAINER_DLL_remove (t->tq_head, t->tq_tail, tq); @@ -613,6 +614,9 @@ GMT_send_queued_data (struct MeshTunnel3 *t, int fwd) GNUNET_free (tq); } + LOG (GNUNET_ERROR_TYPE_DEBUG, + "GMT_send_queued_data end\n", + GMP_2s (t->peer)); } -- 2.25.1