aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-12-09 13:43:33 +0000
committerBart Polot <bart@net.in.tum.de>2013-12-09 13:43:33 +0000
commit917c43dd2d94e8f28670f69dc0d7d66b93ca72d4 (patch)
tree70d90c32eac9c9683d8b8d204a3bc59805efd803
parent415a4d98e2a9edcb485b70badb31b25a4c293013 (diff)
downloadgnunet-917c43dd2d94e8f28670f69dc0d7d66b93ca72d4.tar.gz
gnunet-917c43dd2d94e8f28670f69dc0d7d66b93ca72d4.zip
- fixed 3174: check reliable gap before allowing client to give more data
-rw-r--r--src/mesh/gnunet-service-mesh_channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c
index bcc2d1936..08f2fca48 100644
--- a/src/mesh/gnunet-service-mesh_channel.c
+++ b/src/mesh/gnunet-service-mesh_channel.c
@@ -1680,14 +1680,14 @@ GMCH_handle_local_data (struct MeshChannel *ch,
1680 if (is_loopback (ch)) 1680 if (is_loopback (ch))
1681 { 1681 {
1682 if (GMCH_get_buffer (ch, fwd) > 0) 1682 if (GMCH_get_buffer (ch, fwd) > 0)
1683 send_client_ack (ch, fwd); 1683 GMCH_allow_client (ch, fwd);
1684 1684
1685 return GNUNET_OK; 1685 return GNUNET_OK;
1686 } 1686 }
1687 1687
1688 if (GMT_get_connections_buffer (ch->t) > 0) 1688 if (GMT_get_connections_buffer (ch->t) > 0)
1689 { 1689 {
1690 send_client_ack (ch, fwd); 1690 GMCH_allow_client (ch, fwd);
1691 } 1691 }
1692 1692
1693 return GNUNET_OK; 1693 return GNUNET_OK;