diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-10-15 12:43:22 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-10-15 12:43:22 +0000 |
commit | d3bde72d9658c3f7e6dfd51de16bc4137257be36 (patch) | |
tree | 1d3eb75690e5ccccca800ac20907809c22355494 /src/mesh | |
parent | 9d5e7ddec00e421f60cb0de94c0d8c63edb26d23 (diff) | |
download | gnunet-d3bde72d9658c3f7e6dfd51de16bc4137257be36.tar.gz gnunet-d3bde72d9658c3f7e6dfd51de16bc4137257be36.zip |
- use send_client_ack
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh_channel.c | 4 |
1 files changed, 1 insertions, 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, | |||
1260 | channel_save_copy (ch, &payload->header, fwd); | 1260 | channel_save_copy (ch, &payload->header, fwd); |
1261 | if (GMT_get_buffer (ch->t, fwd) > 0) | 1261 | if (GMT_get_buffer (ch->t, fwd) > 0) |
1262 | { | 1262 | { |
1263 | MESH_ChannelNumber ackid; | ||
1264 | ackid = fwd ? ch->lid_root : ch->lid_dest; | ||
1265 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1263 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1266 | " sending ack to client (%X)\n", ackid); | 1264 | " sending ack to client (%X)\n", ackid); |
1267 | GML_send_ack (c, ackid); | 1265 | send_client_ack (c, fwd); |
1268 | } | 1266 | } |
1269 | 1267 | ||
1270 | return GNUNET_OK; | 1268 | return GNUNET_OK; |