summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/net_crypto.c')
-rw-r--r--toxcore/net_crypto.c3
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.