diff options
author | irungentoo <irungentoo@gmail.com> | 2014-06-04 17:55:07 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-06-04 17:55:07 -0400 |
commit | aa256d58588182499704babc8e252f9fddc25c02 (patch) | |
tree | ddee02dc2dc7ad389a76a501996a3ba5f5293cdc /toxcore/net_crypto.c | |
parent | dc6f46a24089d4134a72951f4cf18f0dc314218c (diff) |
Doubled minimum transfer rate.
File transfers got stuck because it was too low.
Diffstat (limited to 'toxcore/net_crypto.c')
-rw-r--r-- | toxcore/net_crypto.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c index be450499..4c2a8faa 100644 --- a/toxcore/net_crypto.c +++ b/toxcore/net_crypto.c | |||
@@ -859,7 +859,8 @@ static int send_request_packet(Net_Crypto *c, int crypt_connection_id) | |||
859 | if (len == -1) | 859 | if (len == -1) |
860 | return -1; | 860 | return -1; |
861 | 861 | ||
862 | return send_data_packet_helper(c, crypt_connection_id, conn->recv_array.buffer_start, conn->send_array.buffer_end, data, len); | 862 | return send_data_packet_helper(c, crypt_connection_id, conn->recv_array.buffer_start, conn->send_array.buffer_end, data, |
863 | len); | ||
863 | } | 864 | } |
864 | 865 | ||
865 | /* Send up to max num previously requested data packets. | 866 | /* Send up to max num previously requested data packets. |