aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/gnunet-service-mesh_channel.c')
-rw-r--r--src/mesh/gnunet-service-mesh_channel.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c
index 8b90938b1..be4f7d0c0 100644
--- a/src/mesh/gnunet-service-mesh_channel.c
+++ b/src/mesh/gnunet-service-mesh_channel.c
@@ -1076,7 +1076,7 @@ GMCH_send_data (struct MeshChannel *ch,
1076 * @param fwd Is for FWD traffic? (ACK dest->owner) 1076 * @param fwd Is for FWD traffic? (ACK dest->owner)
1077 */ 1077 */
1078void 1078void
1079GMCH_send_ack (struct MeshChannel *ch, int fwd) 1079GMCH_send_data_ack (struct MeshChannel *ch, int fwd)
1080{ 1080{
1081 struct GNUNET_MESH_DataACK msg; 1081 struct GNUNET_MESH_DataACK msg;
1082 struct MeshChannelReliability *rel; 1082 struct MeshChannelReliability *rel;
@@ -1414,7 +1414,7 @@ GMCH_handle_data (struct MeshChannel *ch,
1414 mid, rel->mid_recv, rel->mid_recv + 64); 1414 mid, rel->mid_recv, rel->mid_recv + 64);
1415 } 1415 }
1416 1416
1417 GMCH_send_ack (ch, fwd); 1417 GMCH_send_data_ack (ch, fwd);
1418} 1418}
1419 1419
1420 1420
@@ -1541,7 +1541,8 @@ GMCH_handle_create (const struct GNUNET_MESH_ChannelCreate *msg,
1541 LOG (GNUNET_ERROR_TYPE_DEBUG, "!!! Reliable\n"); 1541 LOG (GNUNET_ERROR_TYPE_DEBUG, "!!! Reliable\n");
1542 1542
1543 GMCH_send_create (ch); 1543 GMCH_send_create (ch);
1544 GMCH_send_ack (ch, fwd); 1544 GMCH_send_data_ack (ch, fwd);
1545 channel_send_ack (ch, !fwd);
1545 1546
1546 if (GNUNET_NO == ch->dest_rel->client_ready) 1547 if (GNUNET_NO == ch->dest_rel->client_ready)
1547 { 1548 {