From d3bde72d9658c3f7e6dfd51de16bc4137257be36 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Tue, 15 Oct 2013 12:43:22 +0000 Subject: [PATCH] - use send_client_ack --- src/mesh/gnunet-service-mesh_channel.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c index b7829aad7..bf45d8bf8 100644 --- a/src/mesh/gnunet-service-mesh_channel.c +++ b/src/mesh/gnunet-service-mesh_channel.c @@ -1260,11 +1260,9 @@ GMCH_handle_local_data (struct MeshChannel *ch, channel_save_copy (ch, &payload->header, fwd); if (GMT_get_buffer (ch->t, fwd) > 0) { - MESH_ChannelNumber ackid; - ackid = fwd ? ch->lid_root : ch->lid_dest; LOG (GNUNET_ERROR_TYPE_DEBUG, " sending ack to client (%X)\n", ackid); - GML_send_ack (c, ackid); + send_client_ack (c, fwd); } return GNUNET_OK; -- 2.25.1