diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-10-15 12:46:00 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-10-15 12:46:00 +0000 |
commit | 803bc8e9de18e21bfbea9472a43c38f4da7f6428 (patch) | |
tree | fdea57d914dd1eecd59e8c77e538a32b1b76442a /src/mesh | |
parent | 076cdc1f9389806ef906ce47fa36d8a1bee54b65 (diff) | |
download | gnunet-803bc8e9de18e21bfbea9472a43c38f4da7f6428.tar.gz gnunet-803bc8e9de18e21bfbea9472a43c38f4da7f6428.zip |
- move debug log
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh_channel.c | 6 |
1 files 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) | |||
455 | { | 455 | { |
456 | struct MeshChannelReliability *rel = fwd ? ch->root_rel : ch->dest_rel; | 456 | struct MeshChannelReliability *rel = fwd ? ch->root_rel : ch->dest_rel; |
457 | 457 | ||
458 | LOG (GNUNET_ERROR_TYPE_DEBUG, | ||
459 | " sending %s ack to client on channel %s\n", | ||
460 | fwd ? "FWD" : "BCK", GMCH_2s (ch)); | ||
461 | |||
458 | if (NULL == rel) | 462 | if (NULL == rel) |
459 | { | 463 | { |
460 | GNUNET_break (0); | 464 | GNUNET_break (0); |
@@ -1260,8 +1264,6 @@ GMCH_handle_local_data (struct MeshChannel *ch, | |||
1260 | channel_save_copy (ch, &payload->header, fwd); | 1264 | channel_save_copy (ch, &payload->header, fwd); |
1261 | if (GMT_get_buffer (ch->t, fwd) > 0) | 1265 | if (GMT_get_buffer (ch->t, fwd) > 0) |
1262 | { | 1266 | { |
1263 | LOG (GNUNET_ERROR_TYPE_DEBUG, | ||
1264 | " sending ack to client (%X)\n", ackid); | ||
1265 | send_client_ack (ch, fwd); | 1267 | send_client_ack (ch, fwd); |
1266 | } | 1268 | } |
1267 | 1269 | ||