summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r--toxcore/tox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index 5dfac2c8..a8a44af3 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -888,8 +888,8 @@ void tox_callback_file_control(Tox *tox, tox_file_control_cb *function, void *us
888 callback_file_control(m, function, user_data); 888 callback_file_control(m, function, user_data);
889} 889}
890 890
891uint32_t tox_file_send(Tox *tox, uint32_t friend_number, TOX_FILE_KIND kind, uint64_t file_size, 891uint32_t tox_file_send(Tox *tox, uint32_t friend_number, uint32_t kind, uint64_t file_size, const uint8_t *filename,
892 const uint8_t *filename, size_t filename_length, TOX_ERR_FILE_SEND *error) 892 size_t filename_length, TOX_ERR_FILE_SEND *error)
893{ 893{
894 if (!filename) { 894 if (!filename) {
895 SET_ERROR_PARAMETER(error, TOX_ERR_FILE_SEND_NULL); 895 SET_ERROR_PARAMETER(error, TOX_ERR_FILE_SEND_NULL);