From 803bc8e9de18e21bfbea9472a43c38f4da7f6428 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Tue, 15 Oct 2013 12:46:00 +0000 Subject: [PATCH] - move debug log --- src/mesh/gnunet-service-mesh_channel.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c index bded10dd8..7ee125020 100644 --- a/src/mesh/gnunet-service-mesh_channel.c +++ b/src/mesh/gnunet-service-mesh_channel.c @@ -455,6 +455,10 @@ send_client_ack (struct MeshChannel *ch, int fwd) { struct MeshChannelReliability *rel = fwd ? ch->root_rel : ch->dest_rel; + LOG (GNUNET_ERROR_TYPE_DEBUG, + " sending %s ack to client on channel %s\n", + fwd ? "FWD" : "BCK", GMCH_2s (ch)); + if (NULL == rel) { GNUNET_break (0); @@ -1260,8 +1264,6 @@ GMCH_handle_local_data (struct MeshChannel *ch, channel_save_copy (ch, &payload->header, fwd); if (GMT_get_buffer (ch->t, fwd) > 0) { - LOG (GNUNET_ERROR_TYPE_DEBUG, - " sending ack to client (%X)\n", ackid); send_client_ack (ch, fwd); } -- 2.25.1