diff options
Diffstat (limited to 'src/mesh/gnunet-service-mesh_tunnel.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh_tunnel.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c index fbb28f53d..ea7a80e87 100644 --- a/src/mesh/gnunet-service-mesh_tunnel.c +++ b/src/mesh/gnunet-service-mesh_tunnel.c | |||
@@ -872,9 +872,9 @@ send_prebuilt_message (const struct GNUNET_MessageHeader *message, | |||
872 | msg->ttl = htonl (default_ttl); | 872 | msg->ttl = htonl (default_ttl); |
873 | break; | 873 | break; |
874 | default: | 874 | default: |
875 | LOG (GNUNET_ERROR_TYPE_DEBUG, "unkown type %s\n", GM_m2s (type)); | ||
876 | GNUNET_break (0); | 875 | GNUNET_break (0); |
877 | } | 876 | } |
877 | LOG (GNUNET_ERROR_TYPE_DEBUG, "type %s\n", GM_m2s (type)); | ||
878 | 878 | ||
879 | fwd = GMC_is_origin (c, GNUNET_YES); | 879 | fwd = GMC_is_origin (c, GNUNET_YES); |
880 | 880 | ||
@@ -2797,25 +2797,25 @@ GMT_debug (const struct MeshTunnel3 *t) | |||
2797 | struct MeshTChannel *iterch; | 2797 | struct MeshTChannel *iterch; |
2798 | struct MeshTConnection *iterc; | 2798 | struct MeshTConnection *iterc; |
2799 | 2799 | ||
2800 | LOG (GNUNET_ERROR_TYPE_DEBUG, "DEBUG TUNNEL TOWARDS %s\n", GMT_2s (t)); | 2800 | LOG (GNUNET_ERROR_TYPE_DEBUG, "TTT DEBUG TUNNEL TOWARDS %s\n", GMT_2s (t)); |
2801 | LOG (GNUNET_ERROR_TYPE_DEBUG, " cstate %s, estate %s\n", | 2801 | LOG (GNUNET_ERROR_TYPE_DEBUG, "TTT cstate %s, estate %s\n", |
2802 | cstate2s (t->cstate), estate2s (t->estate)); | 2802 | cstate2s (t->cstate), estate2s (t->estate)); |
2803 | LOG (GNUNET_ERROR_TYPE_DEBUG, " kx_ctx %p, rekey_task %u\n", | 2803 | LOG (GNUNET_ERROR_TYPE_DEBUG, "TTT kx_ctx %p, rekey_task %u\n", |
2804 | t->kx_ctx, t->rekey_task); | 2804 | t->kx_ctx, t->rekey_task); |
2805 | LOG (GNUNET_ERROR_TYPE_DEBUG, " tq_head %p, tq_tail %p\n", | 2805 | LOG (GNUNET_ERROR_TYPE_DEBUG, "TTT tq_head %p, tq_tail %p\n", |
2806 | t->tq_head, t->tq_tail); | 2806 | t->tq_head, t->tq_tail); |
2807 | LOG (GNUNET_ERROR_TYPE_DEBUG, " destroy %u\n", t->destroy_task); | 2807 | LOG (GNUNET_ERROR_TYPE_DEBUG, "TTT destroy %u\n", t->destroy_task); |
2808 | 2808 | ||
2809 | LOG (GNUNET_ERROR_TYPE_DEBUG, " channels:\n"); | 2809 | LOG (GNUNET_ERROR_TYPE_DEBUG, "TTT channels:\n"); |
2810 | for (iterch = t->channel_head; NULL != iterch; iterch = iterch->next) | 2810 | for (iterch = t->channel_head; NULL != iterch; iterch = iterch->next) |
2811 | { | 2811 | { |
2812 | LOG (GNUNET_ERROR_TYPE_DEBUG, " - %s\n", GMCH_2s (iterch->ch)); | 2812 | LOG (GNUNET_ERROR_TYPE_DEBUG, "TTT - %s\n", GMCH_2s (iterch->ch)); |
2813 | } | 2813 | } |
2814 | 2814 | ||
2815 | LOG (GNUNET_ERROR_TYPE_DEBUG, " connections:\n"); | 2815 | LOG (GNUNET_ERROR_TYPE_DEBUG, "TTT connections:\n"); |
2816 | for (iterc = t->connection_head; NULL != iterc; iterc = iterc->next) | 2816 | for (iterc = t->connection_head; NULL != iterc; iterc = iterc->next) |
2817 | { | 2817 | { |
2818 | LOG (GNUNET_ERROR_TYPE_DEBUG, " - %s [%u] buf: %u/%u (qn %u/%u)\n", | 2818 | LOG (GNUNET_ERROR_TYPE_DEBUG, "TTT - %s [%u] buf: %u/%u (qn %u/%u)\n", |
2819 | GMC_2s (iterc->c), GMC_get_state (iterc->c), | 2819 | GMC_2s (iterc->c), GMC_get_state (iterc->c), |
2820 | GMC_get_buffer (iterc->c, GNUNET_YES), | 2820 | GMC_get_buffer (iterc->c, GNUNET_YES), |
2821 | GMC_get_buffer (iterc->c, GNUNET_NO), | 2821 | GMC_get_buffer (iterc->c, GNUNET_NO), |
@@ -2823,7 +2823,7 @@ GMT_debug (const struct MeshTunnel3 *t) | |||
2823 | GMC_get_qn (iterc->c, GNUNET_NO)); | 2823 | GMC_get_qn (iterc->c, GNUNET_NO)); |
2824 | } | 2824 | } |
2825 | 2825 | ||
2826 | LOG (GNUNET_ERROR_TYPE_DEBUG, "DEBUG TUNNEL END\n"); | 2826 | LOG (GNUNET_ERROR_TYPE_DEBUG, "TTT DEBUG TUNNEL END\n"); |
2827 | } | 2827 | } |
2828 | 2828 | ||
2829 | 2829 | ||