From: Bart Polot Date: Tue, 15 Oct 2013 12:46:00 +0000 (+0000) Subject: - move debug log X-Git-Tag: initial-import-from-subversion-38251~6535 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=803bc8e9de18e21bfbea9472a43c38f4da7f6428;p=oweals%2Fgnunet.git - move debug log --- 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); }