- use send_client_ack
authorBart Polot <bart@net.in.tum.de>
Tue, 15 Oct 2013 12:43:22 +0000 (12:43 +0000)
committerBart Polot <bart@net.in.tum.de>
Tue, 15 Oct 2013 12:43:22 +0000 (12:43 +0000)
src/mesh/gnunet-service-mesh_channel.c

index b7829aad72c939015a0a0593b184b963811fe060..bf45d8bf84e6fd563dd3b65269db3970c9b9292e 100644 (file)
@@ -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;