diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-10-17 14:43:07 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-10-17 14:43:07 +0000 |
commit | 7cded841d917561ea812f858d7dabd11979f0202 (patch) | |
tree | 400a990f1b81dbd46fe9646d5f5a075826621ded /src/mesh | |
parent | b7d5f4d4402789b9cc82990220cc7738ed03755f (diff) | |
download | gnunet-7cded841d917561ea812f858d7dabd11979f0202.tar.gz gnunet-7cded841d917561ea812f858d7dabd11979f0202.zip |
- debug
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh_tunnel.c | 6 |
1 files changed, 5 insertions, 1 deletions
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) | |||
600 | 600 | ||
601 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 601 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
602 | "GMT_send_queued_data on tunnel %s\n", | 602 | "GMT_send_queued_data on tunnel %s\n", |
603 | GMP_2s (t->peer)); | 603 | GMT_2s (t)); |
604 | room = GMT_get_buffer (t, fwd); | 604 | room = GMT_get_buffer (t, fwd); |
605 | LOG (GNUNET_ERROR_TYPE_DEBUG, " buffer space: %u\n", room); | 605 | LOG (GNUNET_ERROR_TYPE_DEBUG, " buffer space: %u\n", room); |
606 | for (tq = t->tq_head; NULL != tq && room > 0; tq = next) | 606 | for (tq = t->tq_head; NULL != tq && room > 0; tq = next) |
607 | { | 607 | { |
608 | LOG (GNUNET_ERROR_TYPE_DEBUG, " data on channel %s\n", GMCH_2s (tq->ch)); | ||
608 | next = tq->next; | 609 | next = tq->next; |
609 | room--; | 610 | room--; |
610 | GNUNET_CONTAINER_DLL_remove (t->tq_head, t->tq_tail, tq); | 611 | GNUNET_CONTAINER_DLL_remove (t->tq_head, t->tq_tail, tq); |
@@ -613,6 +614,9 @@ GMT_send_queued_data (struct MeshTunnel3 *t, int fwd) | |||
613 | 614 | ||
614 | GNUNET_free (tq); | 615 | GNUNET_free (tq); |
615 | } | 616 | } |
617 | LOG (GNUNET_ERROR_TYPE_DEBUG, | ||
618 | "GMT_send_queued_data end\n", | ||
619 | GMP_2s (t->peer)); | ||
616 | } | 620 | } |
617 | 621 | ||
618 | 622 | ||