This belongs in the previous commit.

This commit is contained in:
irungentoo 2015-03-13 16:33:55 -04:00
parent c3e07b73d3
commit 29857a3da4
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -103,7 +103,7 @@ void handle_custom_packet(Tox *m, uint32_t friend_num, const uint8_t *data, size
uint8_t filenum;
uint32_t file_accepted;
uint64_t file_size;
void tox_file_receive(Tox *tox, uint32_t friend_number, uint32_t file_number, TOX_FILE_KIND kind, uint64_t filesize,
void tox_file_receive(Tox *tox, uint32_t friend_number, uint32_t file_number, uint32_t kind, uint64_t filesize,
const uint8_t *filename, size_t filename_length, void *userdata)
{
if (*((uint32_t *)userdata) != 974536)